mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix export of deck children when limiting to deck
This commit is contained in:
parent
eef669896d
commit
2cfa80b75b
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ class AnkiExporter(Exporter):
|
|||
if not self.did:
|
||||
dids = []
|
||||
else:
|
||||
dids = [self.did] + self.src.decks.children(self.did)
|
||||
dids = [self.did] + [
|
||||
x[1] for x in self.src.decks.children(self.did)]
|
||||
dconfs = {}
|
||||
for d in self.src.decks.all():
|
||||
if d['id'] == 1:
|
||||
|
|
Loading…
Reference in a new issue