Skip to content

Commit

Permalink
Add an assert so mypy is happy
Browse files Browse the repository at this point in the history
The busy_dialog is initialized by perform_setup called from do_activate.
  • Loading branch information
marmarek committed Nov 21, 2023
1 parent 8fd273b commit 7fe2f64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disk_password_gui/disk_password_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def _do_reencrypt(self):
except Exception as ex: # pylint: disable=broad-except
self.errors.append(str(ex))

assert self.busy_dialog is not None
self.busy_dialog.hide()
GLib.idle_add(self._busy_ended)

Expand Down

0 comments on commit 7fe2f64

Please sign in to comment.