Fix error caused by converting delimiter to bytes

This commit is contained in:
luoliyan 2017-02-15 18:45:04 +09:30
parent b58c082e29
commit e892a30728

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. "