mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 18:26:32 +01:00
Fix lazy-import error for EvMore Command from launchcmd context
This commit is contained in:
parent
3bc841b781
commit
d240d5050d
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ the `caller.msg()` construct every time the page is updated.
|
|||
from django.conf import settings
|
||||
from django.db.models.query import QuerySet
|
||||
from django.core.paginator import Paginator
|
||||
from evennia import Command, CmdSet
|
||||
from evennia.commands.command import Command
|
||||
from evennia.commands.cmdset import CmdSet
|
||||
from evennia.commands import cmdhandler
|
||||
from evennia.utils.ansi import ANSIString
|
||||
from evennia.utils.utils import make_iter, inherits_from, justify, dedent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue