Skip to content

Commit f12d707

Browse files
committed
fix issue #5 - missing return statement
1 parent b208cf6 commit f12d707

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backup.py

+2
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ def backup_db():
2121
success = upload_to_bucket(str(FILE_PATH), FILENAME)
2222
if not success:
2323
logger.error('Uploading the file to AWS S3 failed.')
24+
return success
25+
2426
logger.info('Backup file uploaded successfully to aws s3')
2527
return success

0 commit comments

Comments
 (0)