mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
Merge pull request #284 from Arthur-Milchior/ErrorInCaseOfMissimngMod
Tolerate manually installed add-ons with numeric ids
This commit is contained in:
commit
a0b9b6c0f3
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ When loading '%(name)s':
|
||||||
updated = []
|
updated = []
|
||||||
for dir, ts in mods:
|
for dir, ts in mods:
|
||||||
sid = str(dir)
|
sid = str(dir)
|
||||||
if self.addonMeta(sid).get("mod") < ts:
|
if self.addonMeta(sid).get("mod",0) < ts:
|
||||||
updated.append(sid)
|
updated.append(sid)
|
||||||
return updated
|
return updated
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue