mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Using cardIds in AnkiExporter
This commit is contained in:
parent
39b77951c3
commit
112b287548
1 changed files with 1 additions and 4 deletions
|
@ -125,10 +125,7 @@ class AnkiExporter(Exporter):
|
|||
self.dst = Collection(path)
|
||||
self.src = self.col
|
||||
# find cards
|
||||
if not self.did:
|
||||
cids = self.src.db.list("select id from cards")
|
||||
else:
|
||||
cids = self.src.decks.cids(self.did, children=True)
|
||||
cids = self.cardIds()
|
||||
# copy cards, noting used nids
|
||||
nids = {}
|
||||
data = []
|
||||
|
|
Loading…
Reference in a new issue