Skip to content

Commit

Permalink
fix indentation for gods sake :)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidgupta committed Mar 29, 2016
1 parent c8b76f1 commit e04f212
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,11 @@ def get_json(self):
try:
cache_timeout = self.cache_timeout
except Exception as e:
logging.exception(e)
if config_cache_timeout:
cache_timeout = config_cache_timeout
cache_timeout = config_cache_timeout
else:
cache_timeout = 0
cache_timeout = 0
payload = {
'data': self.get_data(),
'query': self.query,
Expand Down

0 comments on commit e04f212

Please sign in to comment.