Fix lazy-import error for EvMore Command from launchcmd context

This commit is contained in:
Griatch 2021-07-29 17:03:04 +02:00
parent 3bc841b781
commit d240d5050d
2 changed files with 4 additions and 2 deletions

View file

@ -883,7 +883,8 @@ def spawn(*prototypes, caller=None, **kwargs):
protparents = {prot["prototype_key"].lower(): prot for prot in protlib.search_prototype()}
if not kwargs.get("only_validate"):
# homogenization to be more lenient about prototype format when entering the prototype manually
# homogenization to be more lenient about prototype format when entering the prototype
# manually
prototypes = [protlib.homogenize_prototype(prot) for prot in prototypes]
# overload module's protparents with specifically given protparents