diff --git a/guidata/configtools.py b/guidata/configtools.py index 8aadc0a..6c7b2b7 100644 --- a/guidata/configtools.py +++ b/guidata/configtools.py @@ -289,10 +289,10 @@ def font_is_installed(font: str) -> list[str]: list[str]: list of installed fonts """ # Importing Qt here because this module should be independent from it - from qtpy import PYQT5 + from qtpy import QT5 from qtpy import QtGui as QG # pylint: disable=import-outside-toplevel - if PYQT5: + if QT5: fontfamilies = QG.QFontDatabase().families() else: # Qt6