Skip to content

Commit

Permalink
clear error status upon file download success
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Dec 9, 2019
1 parent 18c8898 commit c439af1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions securedrop_client/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ def on_file_download_success(self, result: Any) -> None:
"""
Called when a file has downloaded.
"""
self.gui.clear_error_status() # remove any permanent error status message
self.file_ready.emit(result)

def on_file_download_failure(self, exception: Exception) -> None:
Expand Down

0 comments on commit c439af1

Please sign in to comment.