Skip to content

Commit

Permalink
petites corrections (v1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilade-s committed Jul 5, 2021
1 parent 3485173 commit 8e4de87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Global.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sys import platform # connaitre la plateforme/OS
from datetime import date # récupération de la date (ajout de tâche)
CDATE = str(date.today()) # date actuelle (format AAAA-MM-JJ)
__VERSION__ = "1.1"
__VERSION__ = "1.2"
__AUTHOR__ = "Raphaël"
__ADVISOR__ = "Elisa"
LABELS = ["taskID", "userID", "name",
Expand Down
2 changes: 1 addition & 1 deletion MainFrame.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def RemoveTask(taskID):
# ajout widgets
# widget tâche
self.CheckB = ttk.Checkbutton(self,
text=f"{task[2][:60]}... // {task[3]} // {task[4]} // {task[6]}" if len(task[2]) > 60
text=f"{task[2][:30]}... // {task[3]} // {task[4]} // {task[6]}" if len(task[2]) > 60
else f"{task[2]} // {task[3]} // {task[4]} // {task[6]}", onvalue=1, offvalue=0,
style=f"{task[0]}.TCheckbutton", command=partial(TaskSelected, task[0]))
self.CheckB.grid(row=0, column=0, sticky="w")
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

# variables globales
from Global import __VERSION__, __AUTHOR__, x, y, ShowVersion, platform, LABELS
from Global import __VERSION__, __AUTHOR__, x, y, ShowVersion, platform
# importation des frames
from NavBar import *
from MainFrame import *
Expand Down

0 comments on commit 8e4de87

Please sign in to comment.