progress in removing core
parent
405e8cdd24
commit
e45ce2e4dd
|
@ -180,7 +180,7 @@ class Onionr:
|
||||||
os.mkdir(exportDir)
|
os.mkdir(exportDir)
|
||||||
else:
|
else:
|
||||||
logger.error('Onionr Not initialized')
|
logger.error('Onionr Not initialized')
|
||||||
data = onionrstorage.getData(self.onionrCore, bHash)
|
data = onionrstorage.getData(bHash)
|
||||||
with open('%s/%s.dat' % (exportDir, bHash), 'wb') as exportFile:
|
with open('%s/%s.dat' % (exportDir, bHash), 'wb') as exportFile:
|
||||||
exportFile.write(data)
|
exportFile.write(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue