From 13d41c7647c5f9da34cf180a812b6bdcfec59ba1 Mon Sep 17 00:00:00 2001 From: surbhi Date: Mon, 9 Jul 2018 17:36:28 +0530 Subject: [PATCH] added imports for wrapper main file kivy running --- src/bitmessagemain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index 0a1d835b..0848b0e4 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -389,7 +389,7 @@ class Main: # Populate with hardcoded value (same as connectToStream above) state.streamsInWhichIAmParticipating.append(1) - if daemon is False and state.enableGUI: + if not daemon and state.enableGUI: if state.curses: if not depends.check_curses(): sys.exit() @@ -398,7 +398,7 @@ class Main: bitmessagecurses.runwrapper() elif state.kivy: BMConfigParser().remove_option('bitmessagesettings', 'dontconnect') - from mpybit import MainApp + from bitmessagekivy.mpybit import MainApp MainApp().run() else: import bitmessageqt