Skip to content

Commit

Permalink
[bugfix] avoid caching errors (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Feb 24, 2017
1 parent 3018356 commit 557b557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def get_payload(self, force=False):
data = self.json_dumps(payload)
if PY3:
data = bytes(data, 'utf-8')
if cache:
if cache and self.status != utils.QueryStatus.FAILED:
try:
cache.set(
cache_key,
Expand Down

0 comments on commit 557b557

Please sign in to comment.