From e04f212f4aff00de27f68b3a9c1bf80beb3635dd Mon Sep 17 00:00:00 2001 From: sidgupta Date: Tue, 29 Mar 2016 14:32:27 -0700 Subject: [PATCH] fix indentation for gods sake :) --- caravel/viz.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/caravel/viz.py b/caravel/viz.py index ec4e9adaf1c44..70af9d77dac53 100644 --- a/caravel/viz.py +++ b/caravel/viz.py @@ -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,