mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T62901: Bad handling of missing addon category
This commit is contained in:
parent
34c2185af4
commit
56b06ee83a
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ def modules(module_cache=addons_fake_modules, *, refresh=True):
|
|||
mod_list = list(module_cache.values())
|
||||
mod_list.sort(
|
||||
key=lambda mod: (
|
||||
mod.bl_info["category"],
|
||||
mod.bl_info["name"],
|
||||
mod.bl_info.get("category", ""),
|
||||
mod.bl_info.get("name", ""),
|
||||
)
|
||||
)
|
||||
return mod_list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue