diff --git a/caravel/viz.py b/caravel/viz.py index 305c9d9ac1ff4..a52758fe3123d 100644 --- a/caravel/viz.py +++ b/caravel/viz.py @@ -269,7 +269,7 @@ def json_endpoint(self): @property def cache_key(self): url = self.get_url(json="true", force="false") - return hashlib.md5(url).hexdigest() + return hashlib.md5(url.encode('utf-8')).hexdigest() @property def csv_endpoint(self):