Skip to content

Commit

Permalink
remove unnecessary refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Jan 30, 2020
1 parent 3bc7042 commit 642ad5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion securedrop_client/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ def downloaded_file_exists(self, file_uuid: str) -> bool:
logger.debug('Cannot find {} in the data directory. File does not exist.'.format(
file.original_filename))
storage.update_missing_files(self.data_dir, self.session)
self.session.refresh(file)
self.file_missing.emit(file.uuid)
return False
return True
Expand Down

0 comments on commit 642ad5c

Please sign in to comment.