Skip to content

Commit

Permalink
fix(views/core): apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
rasta-rocket committed Nov 17, 2021
1 parent 15a030e commit 547e80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ def save_or_overwrite_slice(
slc = Slice(owners=[g.user] if g.user else [])

form_data["adhoc_filters"] = self.remove_extra_filters(
(form_data.get("adhoc_filters", []) or [])
form_data.get("adhoc_filters") or []
)

assert slc
Expand Down

0 comments on commit 547e80b

Please sign in to comment.