fix a few things
This commit is contained in:
parent
71bff27245
commit
b3ea0e7b46
3 changed files with 8 additions and 7 deletions
|
@ -115,7 +115,7 @@ class Onionr:
|
|||
logger.info(i)
|
||||
elif command in ('addmsg', 'addmessage'):
|
||||
while True:
|
||||
messageToAdd = input('Broadcast message to network: ')
|
||||
messageToAdd = logger.readline('Broadcast message to network: ')
|
||||
if len(messageToAdd) >= 1:
|
||||
break
|
||||
addedHash = self.onionrCore.setData(messageToAdd)
|
||||
|
@ -165,4 +165,4 @@ class Onionr:
|
|||
def showHelp(self):
|
||||
'''Show help for Onionr'''
|
||||
return
|
||||
Onionr()
|
||||
Onionr()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue