42 "PyQt could not be imported. Please make sure" |
42 "PyQt could not be imported. Please make sure" |
43 " it is installed and accessible.") |
43 " it is installed and accessible.") |
44 sys.exit(100) |
44 sys.exit(100) |
45 |
45 |
46 with contextlib.suppress(ImportError): |
46 with contextlib.suppress(ImportError): |
47 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ |
47 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ __IGNORE_EXCEPTION__ |
48 |
48 |
49 # some global variables needed to start the application |
49 # some global variables needed to start the application |
50 args = None |
50 args = None |
51 mainWindow = None |
51 mainWindow = None |
52 splash = None |
52 splash = None |