[viz] Fix payload force logic (#3839)

This commit is contained in:
John Bodley 2017-11-11 21:43:55 -08:00 committed by Maxime Beauchemin
parent 4d48d5d854
commit a3a4687ebf

View File

@ -244,7 +244,6 @@ class BaseViz(object):
"""Handles caching around the json payload retrieval"""
cache_key = self.cache_key
payload = None
force = force if force else self.form_data.get('force') == 'true'
if not force and cache:
payload = cache.get(cache_key)