added comment to code

This commit is contained in:
Jakub Trllo 2022-09-07 13:41:30 +02:00
parent 509c209093
commit d6ab41887a

View file

@ -388,6 +388,9 @@ class InstallDialog(QtWidgets.QDialog):
install_thread.start()
def _installation_finished(self):
# TODO we should find out why status can be set to 'None'?
# - 'InstallThread.run' should handle all cases so not sure where
# that come from
status = self._install_thread.result()
if status is not None and status >= 0:
self._update_progress(100)