mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix regression introduced by PR #492
This commit is contained in:
parent
94b90d23fb
commit
6bc3462700
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ class AddonManager:
|
|||
except json.JSONDecodeError as e:
|
||||
print(f"json error in add-on {dir}:\n{e}")
|
||||
return dict()
|
||||
except:
|
||||
# missing meta file, etc
|
||||
return dict()
|
||||
|
||||
# in new code, use write_addon_meta() instead
|
||||
def writeAddonMeta(self, dir, meta):
|
||||
|
|
Loading…
Reference in a new issue