mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-27 13:52:15 +00:00
Improved time pretty-print function
This commit is contained in:
1 parent
9e4ae3c6fe
commit
de53a105a4
1 file changed
+4
-1
+4
-1
@@ -217,7 +217,10 @@ def prettytime(time, verbose=False):
|
||||
|
||||
tstr += c
|
||||
|
||||
return tstr
|
||||
if tstr == "":
|
||||
return "0s"
|
||||
else:
|
||||
return tstr
|
||||
|
||||
def phyparams():
|
||||
print("Required Physical Layer MTU : "+str(Reticulum.MTU)+" bytes")
|
||||
|
||||
Reference in new issue
Block a user