diff options
| author | tassaron | 2017-07-25 17:44:59 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-25 17:44:59 -0400 |
| commit | 661526b0739115594fda4c0e876398cdc940fbe1 (patch) | |
| tree | c5bfdf136bd7f72abed54d3bb83d831bcfc43555 /src/mainwindow.py | |
| parent | d25dee6afc0cc72f477b577623079b4d644957a8 (diff) | |
repeated errors don't cause repeated windows
Diffstat (limited to 'src/mainwindow.py')
| -rw-r--r-- | src/mainwindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py index 03b8dde..3cc5d26 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -314,7 +314,7 @@ class MainWindow(QtWidgets.QMainWindow): ['ffmpeg', '-version'], stderr=f ) goodVersion = str(ffmpegVers).split()[2].startswith('3') - except: + except Exception: goodVersion = False else: goodVersion = True @@ -381,7 +381,7 @@ class MainWindow(QtWidgets.QMainWindow): ) @QtCore.pyqtSlot() - def cleanUp(self): + def cleanUp(self, *args): self.timer.stop() self.previewThread.quit() self.previewThread.wait() |
