mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-02 20:21:55 +00:00
Fix --no-gui PySide dependency issue on non-Windows OS (#653)
This commit is contained in:
parent
b8de12f40e
commit
2dd3875a2a
@ -9,7 +9,7 @@ if "QT_PREFERRED_BINDING" not in os.environ:
|
||||
if not isWindowsConsole():
|
||||
try:
|
||||
from syncplay.ui.gui import MainWindow as GraphicalUI
|
||||
except ImportError:
|
||||
except (ImportError, AttributeError) as e:
|
||||
pass
|
||||
from syncplay.ui.consoleUI import ConsoleUI
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user