From c2952f881f0d1397f907b8960296212b784bc2b2 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 28 Aug 2024 17:22:59 +0800 Subject: [PATCH] Use new style super() --- pytec/tec_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 2a9cb73..e0c3485 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -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)