From da4461d48dcdc5c50a3d216b88be20a9411d4e49 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 23 Mar 2009 10:29:26 +0900 Subject: [PATCH] only split on space --- anki/deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/deck.py b/anki/deck.py index 29f6e3384..6da9c38a6 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -1442,7 +1442,7 @@ and cards.factId = facts.id""") def cardsWithTags(self, tagStr, search="and"): tagIds = [] # get ids - for tag in tagStr.split(): + for tag in tagStr.split(" "): tag = tag.replace("*", "%") if "%" in tag: ids = self.s.column0(