Skip to content

Commit

Permalink
Fix: annotation was failing if query had unicode in it
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed May 19, 2015
1 parent f46e8af commit f45281b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def execute_query(self, query, data_source_id, metadata):

logging.debug("Annotation: %s", annotation)

annotated_query = "/* {} */ {}".format(annotation, query)
annotated_query = u"/* {} */ {}".format(annotation, query)
else:
annotated_query = query

Expand Down

0 comments on commit f45281b

Please sign in to comment.