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 John Bodley committed Mar 6, 2019
1 parent 2b35cce commit d1952b8
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 @@ -362,7 +362,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 d1952b8

Please sign in to comment.