mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix doc build issue from early container load
This commit is contained in:
parent
70bceed8c1
commit
66e03d4a59
1 changed files with 5 additions and 3 deletions
|
|
@ -201,9 +201,11 @@ class GlobalScriptContainer(Container):
|
|||
initialized.
|
||||
|
||||
"""
|
||||
global _BASE_SCRIPT_TYPECLASS
|
||||
if not _BASE_SCRIPT_TYPECLASS:
|
||||
_BASE_SCRIPT_TYPECLASS = class_from_module(settings.BASE_SCRIPT_TYPECLASS)
|
||||
if self.loaded_data:
|
||||
# we don't always load this, it collides with doc generation
|
||||
global _BASE_SCRIPT_TYPECLASS
|
||||
if not _BASE_SCRIPT_TYPECLASS:
|
||||
_BASE_SCRIPT_TYPECLASS = class_from_module(settings.BASE_SCRIPT_TYPECLASS)
|
||||
|
||||
if self.typeclass_storage is None:
|
||||
self.typeclass_storage = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue