diff --git a/__pycache__/onionr.cpython-36.pyc b/__pycache__/onionr.cpython-36.pyc new file mode 100644 index 00000000..70b56566 Binary files /dev/null and b/__pycache__/onionr.cpython-36.pyc differ diff --git a/onionr.py b/onionr.py index cedd7f88..d5331aa6 100755 --- a/onionr.py +++ b/onionr.py @@ -14,14 +14,14 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . ''' -import sys +import sys, api, gui class Onionr: def __init__(self): command = '' try: command = sys.argv[1].lower() except IndexError: - pass + command = '' else: if command == 'start': self.daemon() @@ -31,6 +31,8 @@ class Onionr: self.showStats() elif command == 'help' or command == '--help': self.showHelp() + else: + help(Onionr) return def daemon(self): return