fix a few things

This commit is contained in:
Arinerron 2018-01-28 22:01:36 -08:00
parent 71bff27245
commit b3ea0e7b46
No known key found for this signature in database
GPG key ID: 99383627861C62F0
3 changed files with 8 additions and 7 deletions

View file

@ -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()