Refactor initializer
This commit is contained in:
parent
10ebdddb24
commit
d77bb92e28
3 changed files with 28 additions and 40 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue