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/video_thread.py | |
| parent | 5a95302bb50766b169cc897a3f5c03c3fb83daa3 (diff) | |
use super().__init__ in the modern python3 style
Diffstat (limited to 'src/video_thread.py')
| -rw-r--r-- | src/video_thread.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_thread.py b/src/video_thread.py index 2fe264a..4a28261 100644 --- a/src/video_thread.py +++ b/src/video_thread.py @@ -39,13 +39,13 @@ class Worker(QtCore.QObject): encoding = pyqtSignal(bool) def __init__(self, parent, inputFile, outputFile, components): - QtCore.QObject.__init__(self) + super().__init__() self.core = parent.core self.settings = parent.settings self.modules = parent.core.modules parent.createVideo.connect(self.createVideo) - self.parent = parent + #self.parent = parent self.components = components self.outputFile = outputFile self.inputFile = inputFile |
