diff --git a/onionr/onionr.py b/onionr/onionr.py index a87497fa..1f705525 100755 --- a/onionr/onionr.py +++ b/onionr/onionr.py @@ -180,7 +180,7 @@ class Onionr: os.mkdir(exportDir) else: 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: exportFile.write(data)