added imports for wrapper main file kivy running

This commit is contained in:
surbhi 2018-07-09 17:36:28 +05:30
parent 956f689eeb
commit 13d41c7647
No known key found for this signature in database
GPG Key ID: 88928762974D3618
1 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ class Main:
# Populate with hardcoded value (same as connectToStream above) # Populate with hardcoded value (same as connectToStream above)
state.streamsInWhichIAmParticipating.append(1) state.streamsInWhichIAmParticipating.append(1)
if daemon is False and state.enableGUI: if not daemon and state.enableGUI:
if state.curses: if state.curses:
if not depends.check_curses(): if not depends.check_curses():
sys.exit() sys.exit()
@ -398,7 +398,7 @@ class Main:
bitmessagecurses.runwrapper() bitmessagecurses.runwrapper()
elif state.kivy: elif state.kivy:
BMConfigParser().remove_option('bitmessagesettings', 'dontconnect') BMConfigParser().remove_option('bitmessagesettings', 'dontconnect')
from mpybit import MainApp from bitmessagekivy.mpybit import MainApp
MainApp().run() MainApp().run()
else: else:
import bitmessageqt import bitmessageqt