Skip to content

Commit

Permalink
[csv-upload] Fixing message encoding (#6971)
Browse files Browse the repository at this point in the history
(cherry picked from commit 48431ab)
  • Loading branch information
john-bodley authored and xtinec committed Mar 21, 2019
1 parent bd2a8b5 commit 81a1287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def form_post(self, form):
except OSError:
pass
message = 'Table name {} already exists. Please pick another'.format(
form.name.data) if isinstance(e, IntegrityError) else e
form.name.data) if isinstance(e, IntegrityError) else str(e)
flash(
message,
'danger')
Expand Down

0 comments on commit 81a1287

Please sign in to comment.