We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 111c9c0 commit e22a802Copy full SHA for e22a802
1 file changed
RNS/Identity.py
@@ -187,8 +187,7 @@ def save_known_destinations():
187
with open(RNS.Reticulum.storagepath+"/known_destinations","rb") as file:
188
storage_known_destinations = umsgpack.load(file)
189
190
- except:
191
- pass
+ except: pass
192
193
try:
194
for destination_hash in storage_known_destinations:
@@ -199,8 +198,7 @@ def save_known_destinations():
199
198
200
RNS.log("Saving "+str(len(Identity.known_destinations))+" known destinations to storage...", RNS.LOG_DEBUG)
201
with open(RNS.Reticulum.storagepath+"/known_destinations","wb") as file:
202
- umsgpack.dump(Identity.known_destinations, file)
203
-
+ umsgpack.dump(Identity.known_destinations.copy(), file)
204
205
save_time = time.time() - save_start
206
if save_time < 1:
0 commit comments