forked from M-Labs/thermostat
Use new style super()
This commit is contained in:
parent
810237bccf
commit
c2952f881f
|
@ -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