From b06b2f26f0356bc9d52c575b67906c479b80faef Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 16 Dec 2019 17:53:20 +1000 Subject: [PATCH] Sniffer technically expects a string, not a list --- anki/importing/csvfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/importing/csvfile.py b/anki/importing/csvfile.py index bb6585e9c..c80119139 100644 --- a/anki/importing/csvfile.py +++ b/anki/importing/csvfile.py @@ -12,7 +12,7 @@ from anki.lang import _ class TextImporter(NoteImporter): needDelimiter = True - patterns = ("\t", "|", ",", ";", ":") + patterns = "\t|,;:" def __init__(self, col, file): NoteImporter.__init__(self, col, file)