From e3ea0f970e8d6b114d0c2f7cd4cdb5fa2db0cb4d 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 6708fcd..034cfee 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -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)