mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-05-22 15:54:48 -07:00
Cleanup
This commit is contained in:
@@ -251,8 +251,8 @@ class InterfaceAnnounceHandler:
|
||||
|
||||
class InterfaceDiscovery():
|
||||
THRESHOLD_UNKNOWN = 24*60*60
|
||||
THRESHOLD_STALE = 7*24*60*60
|
||||
THRESHOLD_REMOVE = 30*24*60*60
|
||||
THRESHOLD_STALE = 3*24*60*60
|
||||
THRESHOLD_REMOVE = 7*24*60*60
|
||||
|
||||
STATUS_STALE = 0
|
||||
STATUS_UNKNOWN = 100
|
||||
|
||||
@@ -195,9 +195,9 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
|
||||
if_type = i["type"]
|
||||
status = i["status"]
|
||||
|
||||
if status == "available": status_display = "✓ Available"
|
||||
elif status == "unknown": status_display = "? Unknown"
|
||||
elif status == "stale": status_display = "× Stale"
|
||||
if status == "available": status_display = "Available"
|
||||
elif status == "unknown": status_display = "Unknown"
|
||||
elif status == "stale": status_display = "Stale"
|
||||
else: status_display = status
|
||||
|
||||
now = time.time()
|
||||
|
||||
Reference in New Issue
Block a user