mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
escape tags on mnemosyne import
This commit is contained in:
parent
b9789cbd50
commit
5a912faeab
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Mnemosyne10Importer(Importer):
|
||||||
card.noCount = item.lapses
|
card.noCount = item.lapses
|
||||||
card.reps = card.yesCount + card.noCount
|
card.reps = card.yesCount + card.noCount
|
||||||
if item.cat.name != u"<default>":
|
if item.cat.name != u"<default>":
|
||||||
card.tags = item.cat.name
|
card.tags = item.cat.name.replace(" ", "_")
|
||||||
if card.reps:
|
if card.reps:
|
||||||
card.type = 1
|
card.type = 1
|
||||||
cards.append(card)
|
cards.append(card)
|
||||||
|
|
Loading…
Reference in a new issue