Skip to content

Commit

Permalink
only send if files stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe committed Sep 20, 2024
1 parent 46d18ad commit 0552872
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ def handle(self, *args, **options):

stuck_files = get_stuck_files()

send_stuck_file_email(stuck_files, recipients)
if stuck_files.count() > 0:
send_stuck_file_email(stuck_files, recipients)

0 comments on commit 0552872

Please sign in to comment.