Use new style super()

This commit is contained in:
atse 2024-08-28 17:22:59 +08:00
parent 71d1c7390a
commit 88c3c6f815

View File

@ -55,7 +55,7 @@ class MainWindow(QtWidgets.QMainWindow):
NUM_CHANNELS = 2
def __init__(self, args):
super(MainWindow, self).__init__()
super().__init__()
ui_file_path = importlib.resources.files("pytec.gui.view").joinpath("tec_qt.ui")
uic.loadUi(ui_file_path, self)