Skip to content

Commit

Permalink
[hotfix] hashing unicode in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 3, 2016
1 parent c3789d5 commit 0b93fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0b93fd3

Please sign in to comment.