forked from M-Labs/thermostat
Use new style super()
This commit is contained in:
parent
71d1c7390a
commit
88c3c6f815
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user