Fixing looping bug

This commit is contained in:
Griatch 2021-02-27 18:48:18 +01:00
parent 9eafd3e34f
commit e3321088d3

View file

@ -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