mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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:
|
if not self.did:
|
||||||
dids = []
|
dids = []
|
||||||
else:
|
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 = {}
|
dconfs = {}
|
||||||
for d in self.src.decks.all():
|
for d in self.src.decks.all():
|
||||||
if d['id'] == 1:
|
if d['id'] == 1:
|
||||||
|
|
Loading…
Reference in a new issue