From 2dd3875a2ab2a76774e09f17501e421ad34a7fd1 Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 2 Jan 2024 22:46:25 +0000 Subject: [PATCH] Fix --no-gui PySide dependency issue on non-Windows OS (#653) --- syncplay/ui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ui/__init__.py b/syncplay/ui/__init__.py index 8c80cfa..d20aa9a 100755 --- a/syncplay/ui/__init__.py +++ b/syncplay/ui/__init__.py @@ -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