Skip to content

Commit

Permalink
Arf got trick by Python conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jimleroyer committed Oct 30, 2023
1 parent b51f63f commit dc81e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/notifications/process_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def build_delivery_task_params(notification_type: str, notification_process_type
If the notification is a high priority SMS, set the retry policy to retry every 25 seconds
else fall back to the default retry policy of retrying every 5 minutes.
"""
if current_app.config["FF_CELERY_CUSTOM_TASK_PARAMS"]:
if current_app.config["FF_CELERY_CUSTOM_TASK_PARAMS"] is False:
return {}

params: dict[str, Any] = {}
Expand Down

0 comments on commit dc81e0d

Please sign in to comment.