Skip to content
Snippets Groups Projects
Commit 0b638808 authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

Files: .ubjson -> .ubj

parent 2e197728
No related branches found
No related tags found
No related merge requests found
......@@ -961,7 +961,7 @@ if __name__ == "__main__":
conf = read_config(DIR, conf_overwrite)
elif "-p" in sys.argv:
peer_file = open(os.path.expanduser(utils.getargv("-p", "peers.ubjson")), "rb")
peer_file = open(os.path.expanduser(utils.getargv("-p", "peers.ubj")), "rb")
new_peers = ubjson.loadb(peer_file.read())
peer_file.close()
......@@ -1004,7 +1004,7 @@ if __name__ == "__main__":
if local_peer == None:
exit()
peer_file = open(os.path.expanduser(utils.getargv("-e", "peer_info.ubjson")), "wb")
peer_file = open(os.path.expanduser(utils.getargv("-e", "peer_info.ubj")), "wb")
peer_file.write(ubjson.dumpb([local_peer.raw]))
peer_file.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment