mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-20 22:18:05 -04:00
include nodes in the map view
This commit is contained in:
parent
336bdb1e7c
commit
7513d0e9e3
3 changed files with 51 additions and 8 deletions
|
@ -92,9 +92,12 @@ def rw_cache(key_name, data=None):
|
|||
f.write(pickle.dumps(data))
|
||||
return data
|
||||
else:
|
||||
with open(pickle_file, "rb") as f:
|
||||
pickled_data = pickle.load(f)
|
||||
return pickled_data
|
||||
try:
|
||||
with open(pickle_file, "rb") as f:
|
||||
pickled_data = pickle.load(f)
|
||||
return pickled_data
|
||||
except:
|
||||
return {}
|
||||
|
||||
|
||||
def retrieve_peers(host, port):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue