Sniffer technically expects a string, not a list

This commit is contained in:
Damien Elmes 2019-12-16 17:53:20 +10:00
parent b935c7e89b
commit b06b2f26f0

View file

@ -12,7 +12,7 @@ from anki.lang import _
class TextImporter(NoteImporter): class TextImporter(NoteImporter):
needDelimiter = True needDelimiter = True
patterns = ("\t", "|", ",", ";", ":") patterns = "\t|,;:"
def __init__(self, col, file): def __init__(self, col, file):
NoteImporter.__init__(self, col, file) NoteImporter.__init__(self, col, file)