From 6f88deab52307329a377900c148d27e03c66baca Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 11 Jan 2012 14:47:06 +0900 Subject: [PATCH] add reminder about leading whitespace --- anki/importing/csvfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/importing/csvfile.py b/anki/importing/csvfile.py index c0007ab5d..07f5fea1d 100644 --- a/anki/importing/csvfile.py +++ b/anki/importing/csvfile.py @@ -69,6 +69,7 @@ class TextImporter(CardImporter): self.data = self.fileobj.read() if self.data.startswith(codecs.BOM_UTF8): self.data = self.data[len(codecs.BOM_UTF8):] + print "fixme: don't strip leading whitespace" def sub(s): return re.sub( "^\#.*", "", re.sub(