mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
add fix for AD issue
This commit is contained in:
parent
4a05c736fa
commit
d56cf3c6b0
1 changed files with 4 additions and 0 deletions
|
|
@ -695,6 +695,10 @@ select id from notes where mid not in """ + ids2str(self.models.ids()))
|
||||||
self.remNotes(ids)
|
self.remNotes(ids)
|
||||||
# for each model
|
# for each model
|
||||||
for m in self.models.all():
|
for m in self.models.all():
|
||||||
|
for t in m['tmpls']:
|
||||||
|
if t['did'] == "None":
|
||||||
|
t['did'] = None
|
||||||
|
problems.append(_("Fixed AnkiDroid deck override bug."))
|
||||||
if m['type'] == MODEL_STD:
|
if m['type'] == MODEL_STD:
|
||||||
# model with missing req specification
|
# model with missing req specification
|
||||||
if 'req' not in m:
|
if 'req' not in m:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue