Skip to content

Commit

Permalink
pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseibel committed Aug 27, 2024
1 parent 6b25e4a commit f89c047
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions endorsement/management/commands/notify_non_subsidized.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def handle(self, *args, **options):
shared_drive_ids = [d.strip() for d in options[
'shared_drive_ids'].split(',')]


for drive_id in shared_drive_ids:
drive = SharedDriveRecord.objects.get(
shared_drive__drive_id=drive_id)
Expand All @@ -56,7 +55,7 @@ def handle(self, *args, **options):
send_notification(
members, subject, text_body, html_body,
"OverSubsidizedQuota")

setattr(
drive, 'datetime_over_quota_emailed', timezone.now())
drive.save()
Expand Down

0 comments on commit f89c047

Please sign in to comment.