fix logic bug in enableGUI implementation

This commit is contained in:
f97ada87 2018-04-13 20:16:00 +10:00
parent bb433fc495
commit 54651c7598
No known key found for this signature in database
GPG Key ID: 07B327EEF97ADA87

View File

@ -342,7 +342,7 @@ class Main:
# Populate with hardcoded value (same as connectToStream above)
state.streamsInWhichIAmParticipating.append(1)
if daemon == False or state.enableGUI: # FIXME redundant?
if daemon == False and state.enableGUI: # FIXME redundant?
if state.curses == False:
if not depends.check_pyqt():
sys.exit(