diff --git a/bookwyrm/views/admin/dashboard.py b/bookwyrm/views/admin/dashboard.py index 87af434c58..2bfd272e76 100644 --- a/bookwyrm/views/admin/dashboard.py +++ b/bookwyrm/views/admin/dashboard.py @@ -83,7 +83,7 @@ def post(self, request): schedule, _ = IntervalSchedule.objects.get_or_create( **schedule_form.cleaned_data ) - PeriodicTask.objects.get_or_create( + PeriodicTask.objects.update_or_create( interval=schedule, name="check-for-updates", task="bookwyrm.models.site.check_for_updates_task",