mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #1343 from BlueGreenMagick/disallow-empty-str-package-addon
Fix bug when add-on package string is ""
This commit is contained in:
commit
b9461225ca
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class AddonManager:
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
# the name of the folder
|
# the name of the folder
|
||||||
"package": {"type": "string", "meta": False},
|
"package": {"type": "string", "minLength": 1, "meta": False},
|
||||||
# the displayed name to the user
|
# the displayed name to the user
|
||||||
"name": {"type": "string", "meta": True},
|
"name": {"type": "string", "meta": True},
|
||||||
# the time the add-on was last modified
|
# the time the add-on was last modified
|
||||||
|
|
Loading…
Reference in a new issue