diff --git a/superset/tasks/cache.py b/superset/tasks/cache.py index 54b0dc1b17822..953ed3154d821 100644 --- a/superset/tasks/cache.py +++ b/superset/tasks/cache.py @@ -68,8 +68,8 @@ def get_form_data( extra_filters = build_extra_filters( layout, filter_scopes, default_filters, chart_id ) - if extra_filters: - form_data["extra_filters"] = extra_filters + if extra_filters: + form_data["extra_filters"] = extra_filters return form_data