diff --git a/scripts/ErrorReporter/errorreport.py b/scripts/ErrorReporter/errorreport.py index 70cfe3243a160e7f972d8dc5dbf5e90c8b8b2ba0..8acec4d2be133de0ecb8f80b242b3d2456eeb1d3 100644 --- a/scripts/ErrorReporter/errorreport.py +++ b/scripts/ErrorReporter/errorreport.py @@ -9,7 +9,7 @@ from qtpy.QtCore import Signal try: from ErrorReporter import resources_qt5 # noqa -except ImportError: +except (ImportError, RuntimeError): from ErrorReporter import resources_qt4 # noqa from mantidqt.utils.qt import load_ui