Skip to content

Commit

Permalink
fix rundowns app config (superdesk#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed May 23, 2024
1 parent 560c8ac commit b778115
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions apps/rundowns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ def init_app(app: SuperdeskApp) -> None:

app.register_blueprint(export.blueprint)

app.config["CELERY_BEAT_SCHEDULE"]["rundowns:create-scheduled-rundowns"] = (
{
"task": "apps.rundowns.tasks.create_scheduled_rundowns",
"schedule": crontab(minute="*/15"),
},
)
app.config["CELERY_BEAT_SCHEDULE"]["rundowns:create-scheduled-rundowns"] = {
"task": "apps.rundowns.tasks.create_scheduled_rundowns",
"schedule": crontab(minute="*/15"),
}

0 comments on commit b778115

Please sign in to comment.