Use new style super()

This commit is contained in:
atse 2024-08-28 17:22:59 +08:00
parent 810237bccf
commit c2952f881f
1 changed files with 1 additions and 1 deletions

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)