diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index e6bcdf07e..896eac4d4 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -23,7 +23,7 @@ class ThemeManager: return False if not isMac: return False - import darkdetect + import darkdetect # pylint: disable=import-error return darkdetect.isDark() is True