Use new style super()

This commit is contained in:
atse 2024-08-28 17:22:59 +08:00
parent 9b9b4baf98
commit e3ea0f970e

View File

@ -53,7 +53,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)