Skip to content

Commit

Permalink
remove refresh on file object
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Jan 29, 2020
1 parent 97e7659 commit b8b82f9
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 @@ -592,7 +592,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)
return False
return True

Expand Down

0 comments on commit b8b82f9

Please sign in to comment.