Skip to content

Commit

Permalink
Fix: #1178 Left Pane is not shown when database contains table that n…
Browse files Browse the repository at this point in the history
…ame has unicode characters (MSSQL)

- Update table_name to be unicode (not str).
  • Loading branch information
kitsuyui committed Jul 11, 2016
1 parent 65635ec commit 74021c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/mssql.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _get_tables(self, schema):

for row in results['rows']:
if row['table_schema'] != self.configuration['db']:
table_name = '{}.{}'.format(row['table_schema'], row['table_name'])
table_name = u'{}.{}'.format(row['table_schema'], row['table_name'])
else:
table_name = row['table_name']

Expand Down

0 comments on commit 74021c2

Please sign in to comment.