Improved time pretty-print function
This commit is contained in:
parent
9e4ae3c6fe
commit
de53a105a4
@ -217,7 +217,10 @@ def prettytime(time, verbose=False):
|
|||||||
|
|
||||||
tstr += c
|
tstr += c
|
||||||
|
|
||||||
return tstr
|
if tstr == "":
|
||||||
|
return "0s"
|
||||||
|
else:
|
||||||
|
return tstr
|
||||||
|
|
||||||
def phyparams():
|
def phyparams():
|
||||||
print("Required Physical Layer MTU : "+str(Reticulum.MTU)+" bytes")
|
print("Required Physical Layer MTU : "+str(Reticulum.MTU)+" bytes")
|
||||||
|
Loading…
Reference in New Issue
Block a user