mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-26 01:28:10 -07:00
Improved time pretty-print function
This commit is contained in:
+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