Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-van-Gils committed Apr 2, 2024
1 parent c2fd322 commit 5fd6e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dvg_qdeviceio.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__url__ = "https://github.com/Dennis-van-Gils/python-dvg-qdeviceio"
__date__ = "02-04-2024"
__version__ = "1.2.0"
# pylint: disable=protected-access, wrong-import-position
# pylint: disable=protected-access, wrong-import-position, too-many-lines

import os
import sys
Expand Down Expand Up @@ -53,7 +53,7 @@
pass

if QT_LIB is None:
this_file = __file__.split(os.sep)[-1]
this_file = __file__.rsplit(os.sep, maxsplit=1)[-1]
raise ImportError(
f"{this_file} requires PyQt5, PyQt6, PySide2 or PySide6; "
"none of these packages could be imported."
Expand Down

0 comments on commit 5fd6e91

Please sign in to comment.