Added some API commands for use with a mobile app #391
|
@ -37,7 +37,7 @@ def createDefaultKnownNodes(appdata):
|
||||||
#print stream1
|
#print stream1
|
||||||
#print allKnownNodes
|
#print allKnownNodes
|
||||||
|
|
||||||
with open(appdata + 'knownnodes.dat', 'wb) as output:
|
with open(appdata + 'knownnodes.dat', 'wb') as output:
|
||||||
# Pickle dictionary using protocol 0.
|
# Pickle dictionary using protocol 0.
|
||||||
pickle.dump(allKnownNodes, output)
|
pickle.dump(allKnownNodes, output)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user