Fixing looping bug
This commit is contained in:
parent
9eafd3e34f
commit
e3321088d3
1 changed files with 3 additions and 3 deletions
|
|
@ -195,9 +195,9 @@ if not _no_autodoc:
|
||||||
|
|
||||||
django.setup()
|
django.setup()
|
||||||
|
|
||||||
for modname in sys.modules:
|
modnames = [mname for mname in sys.modules if mname.startswith("evennia")]
|
||||||
if modname.startswith("evennia"):
|
for modname in modnames:
|
||||||
del sys.modules[modname]
|
del sys.modules[modname]
|
||||||
|
|
||||||
import evennia # noqa
|
import evennia # noqa
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue