mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
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()
|
||||
|
||||
for modname in sys.modules:
|
||||
if modname.startswith("evennia"):
|
||||
del sys.modules[modname]
|
||||
modnames = [mname for mname in sys.modules if mname.startswith("evennia")]
|
||||
for modname in modnames:
|
||||
del sys.modules[modname]
|
||||
|
||||
import evennia # noqa
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue