fixed time_units()
This commit is contained in:
parent
5d5cfd2f30
commit
1b9c3d1835
|
@ -99,6 +99,8 @@ def time_units(seconds):
|
|||
hours = (seconds % (24*60*60)) // (60*60)
|
||||
eta = f"{days}d{hours}h"
|
||||
elif seconds > (60*60):
|
||||
hours = seconds // (60*60)
|
||||
minutes = (seconds % (60*60)) // 60
|
||||
eta = f"{hours}h{minutes}m"
|
||||
elif seconds > 60:
|
||||
minutes = seconds // 60
|
||||
|
|
Loading…
Reference in New Issue
Block a user