bug fix: improve handling in registry

v2.0.4
Steve Nyemba 6 months ago
parent 24cdd9f8fe
commit 8aa6f2c93d

@ -79,7 +79,7 @@ def instance (**_args):
registry.load() if 'path' not in _args else registry.load(_args['path']) registry.load() if 'path' not in _args else registry.load(_args['path'])
if 'label' in _args and registry.isloaded(): if 'label' in _args and registry.isloaded():
_info = registry.get(_args['label']) _info = registry.get(_args['label'])
print(_info)
if _info : if _info :
# #
_args = dict(_args,**_info) _args = dict(_args,**_info)

Loading…
Cancel
Save