mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-09-01 09:41:32 +00:00
Fixed invalid handling of corrupted discovery file
This commit is contained in:
parent
a932a10492
commit
35e7ccb773
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ class InterfaceDiscovery():
|
|||
|
||||
except Exception as e: RNS.log(f"Error while reading existing data for discovered interface, re-creating data", RNS.LOG_ERROR)
|
||||
|
||||
if discovered == None: discovered = info["discovered"]
|
||||
if discovered == None: discovered = info["received"]
|
||||
if heard_count == None: heard_count = 0
|
||||
|
||||
with open(filepath, "wb") as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue