Skip to content

Commit 5a9bf16

Browse files
committed
fix double imports again
1 parent f624258 commit 5a9bf16

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

website/settings/defaults.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,6 @@ class CeleryConfig:
553553
'osf.management.commands.registration_schema_metrics',
554554
'website.mailchimp_utils',
555555
'website.notifications.tasks',
556-
'website.notifications.tasks.send_users_digest_email',
557-
'website.notifications.tasks.send_moderators_digest_email',
558556
'website.archiver.tasks',
559557
'website.identifiers.tasks',
560558
'website.search.search',
@@ -627,12 +625,12 @@ class CeleryConfig:
627625
'kwargs': {'dry_run': False},
628626
},
629627
'send_moderators_digest_email': {
630-
'task': 'website.notifications.tasks',
628+
'task': 'website.notifications.tasks.send_moderators_digest_email',
631629
'schedule': crontab(minute=0, hour=5), # Daily 12 a.m
632630
'kwargs': {'dry_run': False},
633631
},
634632
'send_users_digest_email': {
635-
'task': 'website.notifications.tasks',
633+
'task': 'website.notifications.tasks.send_users_digest_email',
636634
'schedule': crontab(minute=0, hour=5), # Daily 12 a.m
637635
'kwargs': {'dry_run': False},
638636
},

0 commit comments

Comments
 (0)