mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-08 07:10:15 +00:00
Improved time pretty-print function
This commit is contained in:
parent
9e4ae3c6fe
commit
de53a105a4
@ -217,6 +217,9 @@ def prettytime(time, verbose=False):
|
|||||||
|
|
||||||
tstr += c
|
tstr += c
|
||||||
|
|
||||||
|
if tstr == "":
|
||||||
|
return "0s"
|
||||||
|
else:
|
||||||
return tstr
|
return tstr
|
||||||
|
|
||||||
def phyparams():
|
def phyparams():
|
||||||
|
Loading…
Reference in New Issue
Block a user