moved the check for PyQt so that we don't need to install it when running -c
This commit is contained in:
parent
82fd241450
commit
c8bf3ccc63
|
@ -214,6 +214,7 @@ class Main:
|
|||
singleListenerThread.start()
|
||||
|
||||
if daemon == False and shared.safeConfigGetBoolean('bitmessagesettings', 'daemon') == False:
|
||||
if curses == False:
|
||||
try:
|
||||
from PyQt4 import QtCore, QtGui
|
||||
except Exception as err:
|
||||
|
@ -222,7 +223,6 @@ class Main:
|
|||
print 'You can also run PyBitmessage with the new curses interface by providing \'-c\' as a commandline argument.'
|
||||
os._exit(0)
|
||||
|
||||
if curses == False:
|
||||
import bitmessageqt
|
||||
bitmessageqt.run()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user