bug fix: improve handling in registry
This commit is contained in:
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…
Reference in New Issue