Merge pull request #164 from luoliyan/master

Fix error caused by converting delimiter to bytes
This commit is contained in:
Damien Elmes 2017-02-16 12:57:09 +10:00 committed by GitHub
commit f2d7f53362

View file

@ -111,7 +111,6 @@ a tab, comma, and so on. If Anki is detecting the character incorrectly,
you can enter it here. Use \\t to represent tab."""), you can enter it here. Use \\t to represent tab."""),
self, help="importing") or "\t" self, help="importing") or "\t"
str = str.replace("\\t", "\t") str = str.replace("\\t", "\t")
str = str.encode("ascii")
if len(str) > 1: if len(str) > 1:
showWarning(_( showWarning(_(
"Multi-character separators are not supported. " "Multi-character separators are not supported. "