Skip to content

Commit

Permalink
[cache] Fixing json.dumps for timestamp (#4240)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored and mistercrunch committed Jan 19, 2018
1 parent 7b76356 commit 8175e19
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 @@ -289,7 +289,7 @@ def get_payload(self, force=False):
self.status != utils.QueryStatus.FAILED):
cached_dttm = datetime.utcnow().isoformat().split('.')[0]
try:
cache_value = json.dumps({
cache_value = self.json_dumps({
'data': data,
'dttm': cached_dttm,
})
Expand Down

0 comments on commit 8175e19

Please sign in to comment.