Refactor initializer

This commit is contained in:
Arinerron 2018-06-19 21:36:07 -07:00
parent 10ebdddb24
commit d77bb92e28
3 changed files with 28 additions and 40 deletions

View file

@ -426,7 +426,7 @@ class Onionr:
except KeyboardInterrupt:
return
addedHash = Block('txt', messageToAdd).save()
addedHash = Block(type = 'txt', content = messageToAdd).save()
if addedHash != None:
logger.info("Message inserted as as block %s" % addedHash)
else: