Skip to content

Commit

Permalink
[csv-upload] Fixing message encoding (#6971)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Mar 3, 2019
1 parent 0a8bc84 commit 48431ab
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 48431ab

Please sign in to comment.