mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC: Edit: Minor change.
This commit is contained in:
1 parent
1775bf2729
commit
31ca9bf70c
2 files changed
+11
-8
No files matched your search
@@ -48,6 +48,8 @@ class ExtendedTimeEdit(AWidget):
|
||||
days = 0
|
||||
stime = time
|
||||
|
||||
# if ',' in time, time format is 'DD days, HH:MM:SS',
|
||||
# otherelse is 'HH:MM:SS'
|
||||
if "," in time:
|
||||
s = time.strip().split(" ")
|
||||
days = int(s[0])
|
||||
|
||||
Reference in new issue
Block a user