mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 18:36:07 +00:00
try switching to Qt if gi isn't available
This commit is contained in:
parent
09e2b25ed1
commit
1782ee940a
|
@ -91,7 +91,7 @@ if __name__ == '__main__':
|
|||
rv('WebKit2', '4.0')
|
||||
print("Starting with GTK")
|
||||
webview.start()
|
||||
except ValueError:
|
||||
except (ValueError, ImportError):
|
||||
print("Starting with QT")
|
||||
webview.start(gui='qt')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue