Skip to content

Commit

Permalink
Merge pull request #53 from CortezSMz/fix-retrieve-saves
Browse files Browse the repository at this point in the history
fix(save_manager): do not close the connection if the file is empty
  • Loading branch information
a1ex4 authored Oct 22, 2023
2 parents 50b485d + 1246e78 commit a3082d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/backup_saves.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def monitor():

if not dst_filesize:
logger.debug(f'Downloaded file {dst_filename} is empty.')
self.ftp.close()
return 1

mon = monitor()
Expand Down

0 comments on commit a3082d6

Please sign in to comment.