Skip to content

Commit

Permalink
fixed silly error
Browse files Browse the repository at this point in the history
  • Loading branch information
timifasubaa committed Aug 23, 2017
1 parent 1d4b5d7 commit b4aa907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models/core.py
Expand Up @@ -767,7 +767,7 @@ def wrapper(*args, **kwargs):
slice_id = int(
slice_id or
json.loads(d.get('form_data')).get('slice_id'))
except ValueError, TypeError:
except (ValueError, TypeError):
slice_id = 0

params = ""
Expand Down

0 comments on commit b4aa907

Please sign in to comment.