mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04: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 = []
|
||||
for dir, ts in mods:
|
||||
sid = str(dir)
|
||||
if self.addonMeta(sid).get("mod") < ts:
|
||||
if self.addonMeta(sid).get("mod",0) < ts:
|
||||
updated.append(sid)
|
||||
return updated
|
||||
|
||||
|
|
Loading…
Reference in a new issue