fix status handling

This commit is contained in:
Jakub Trllo 2022-09-07 12:40:34 +02:00
parent 60f7d48b70
commit 509c209093

View file

@ -389,7 +389,7 @@ class InstallDialog(QtWidgets.QDialog):
def _installation_finished(self):
status = self._install_thread.result()
if status >= 0:
if status is not None and status >= 0:
self._update_progress(100)
QtWidgets.QApplication.processEvents()
self.done(3)