From 96b57f199ddb033a1c7774d3d7b09f335aae4396 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 d832dbb..44cf031 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)