PTT
Push To Talk Postes, Télégraphes et Téléphones Petit Travail Tranquille
This commit is contained in:
parent
b1b03e827f
commit
f9849dfcfa
7 changed files with 111 additions and 9 deletions
|
@ -542,12 +542,10 @@ class TaskWarriorProvider(StatefulSection, InotifyUpdater):
|
|||
if urgency > 0:
|
||||
total += urgency
|
||||
t = Text()
|
||||
maxi = round(maxi)
|
||||
t.append(f"{maxi}")
|
||||
t.append(f"{maxi:.1f}")
|
||||
|
||||
if self.showTotal:
|
||||
total = round(total)
|
||||
t.append(f" | {total}")
|
||||
t.append(f" | {total:.1f}")
|
||||
|
||||
return t
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue