Fix T80650: Malformed bl_info header causes empty add-on listing
This commit is contained in:
parent
976b07056d
commit
92a1b3f750
Notes:
blender-bot
2023-02-13 21:12:24 +01:00
Referenced by issue #80650, Addon section becomes blanc after failed add-on install attempt
|
@ -138,10 +138,10 @@ def modules_refresh(module_cache=addons_fake_modules):
|
|||
mod.__file__ = mod_path
|
||||
mod.__time__ = os.path.getmtime(mod_path)
|
||||
except:
|
||||
print("AST error parsing bl_info for:", mod_name)
|
||||
print("AST error parsing bl_info for:", repr(mod_path))
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
raise
|
||||
return None
|
||||
|
||||
if force_support is not None:
|
||||
mod.bl_info["support"] = force_support
|
||||
|
|
Loading…
Reference in New Issue