don't fail when trying to export cram deck

This commit is contained in:
Damien Elmes 2012-05-06 19:26:05 +09:00
parent 50464b514a
commit eef669896d

View file

@ -177,7 +177,7 @@ class AnkiExporter(Exporter):
continue
if dids and d['id'] not in dids:
continue
if d['conf'] != 1:
if not d['dyn'] and d['conf'] != 1:
dconfs[d['conf']] = True
self.dst.decks.update(d)
# copy used deck confs