diff --git a/RNS/Discovery.py b/RNS/Discovery.py index d99b14e5..f5ba4ed3 100644 --- a/RNS/Discovery.py +++ b/RNS/Discovery.py @@ -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: