(message)
| 27 | knownAddresses = dict() |
| 28 | |
| 29 | def userInput(message): #Checks input for exit or quit. Also formats for input, etc |
| 30 | global usrPrompt |
| 31 | print '\n' + message |
| 32 | uInput = raw_input('> ') |
| 33 | |
| 34 | if (uInput.lower() == 'exit'): #Returns the user to the main menu |
| 35 | usrPrompt = 1 |
| 36 | main() |
| 37 | |
| 38 | elif (uInput.lower() == 'quit'): #Quits the program |
| 39 | print '\n Bye\n' |
| 40 | sys.exit() |
| 41 | os._exit() # _ |
| 42 | else: |
| 43 | return uInput |
| 44 | |
| 45 | def restartBmNotify(): #Prompts the user to restart Bitmessage. |
| 46 | print '\n *******************************************************************' |
no test coverage detected