Skip to content

Commit

Permalink
fix: 0b when file is encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
rsommerard authored Oct 6, 2022
1 parent af443c5 commit 837a926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbbackup/management/commands/dbrestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def _restore_backup(self):
)
input_file.close()
input_file = unencrypted_file
input_file.seek(0)
if self.uncompress:
uncompressed_file, input_filename = utils.uncompress_file(
input_file, input_filename
Expand Down

0 comments on commit 837a926

Please sign in to comment.