add fix for AD issue
This commit is contained in:
parent
4a05c736fa
commit
d56cf3c6b0
@ -695,6 +695,10 @@ select id from notes where mid not in """ + ids2str(self.models.ids()))
|
||||
self.remNotes(ids)
|
||||
# for each model
|
||||
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:
|
||||
# model with missing req specification
|
||||
if 'req' not in m:
|
||||
|
Loading…
Reference in New Issue
Block a user