From 88c3c6f815cb5d251b1e44e8e4829bce093437f0 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 d8456d9..89078c1 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)