Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ejach authored Oct 5, 2024
1 parent 565be1a commit c1176eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def day_retention(mega_obj, num, files):
chdir('..')
info('Current working directory is %s' % getcwd())

if bool(getenv('SCRIPT_MODE', False)):
if not bool(getenv('SCRIPT_MODE', False)):
# Run upload at the specified BACKUP_TIME
every().day.at(getenv('BACKUP_TIME')).do(upload, m, target_dir, files)

Expand Down

0 comments on commit c1176eb

Please sign in to comment.