From e892a30728079cd185e1768eb86781f8550ff61b Mon Sep 17 00:00:00 2001 From: luoliyan Date: Wed, 15 Feb 2017 18:45:04 +0930 Subject: [PATCH] Fix error caused by converting delimiter to bytes --- aqt/importing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aqt/importing.py b/aqt/importing.py index 27787ec4c..24516108f 100644 --- a/aqt/importing.py +++ b/aqt/importing.py @@ -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."""), self, help="importing") or "\t" str = str.replace("\\t", "\t") - str = str.encode("ascii") if len(str) > 1: showWarning(_( "Multi-character separators are not supported. "