diff options
| author | tassaron | 2022-04-29 12:58:26 -0400 |
|---|---|---|
| committer | tassaron | 2022-04-29 13:06:01 -0400 |
| commit | 069edd9086ad7a99c78c5637af23d50a633396cf (patch) | |
| tree | a9d2d704a477b119ef792c4c44190278c0e00ed5 /src/gui/preview_win.py | |
| parent | 5a95302bb50766b169cc897a3f5c03c3fb83daa3 (diff) | |
use super().__init__ in the modern python3 style
Diffstat (limited to 'src/gui/preview_win.py')
| -rw-r--r-- | src/gui/preview_win.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/preview_win.py b/src/gui/preview_win.py index 27e0a59..426ff66 100644 --- a/src/gui/preview_win.py +++ b/src/gui/preview_win.py @@ -10,7 +10,7 @@ class PreviewWindow(QtWidgets.QLabel): when the window is resized. ''' def __init__(self, parent, img): - super(PreviewWindow, self).__init__() + super().__init__() self.parent = parent self.setFrameStyle(QtWidgets.QFrame.StyledPanel) self.pixmap = QtGui.QPixmap(img) |
