mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Fixed rnstatus output
This commit is contained in:
parent
dcde5035b9
commit
1749393732
@ -42,7 +42,7 @@ def program_setup(configdir, dispall=False, verbosity = 0):
|
|||||||
if ifstat["clients"] != None:
|
if ifstat["clients"] != None:
|
||||||
clients = ifstat["clients"]
|
clients = ifstat["clients"]
|
||||||
if name.startswith("Shared Instance["):
|
if name.startswith("Shared Instance["):
|
||||||
clients_string = "Connected applications: "+str(clients-1)
|
clients_string = "Connected applications: "+str(max(clients-1,0))
|
||||||
else:
|
else:
|
||||||
clients_string = "Connected clients: "+str(clients)
|
clients_string = "Connected clients: "+str(clients)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user