Refactor code for readability and compatibility.
This commit is contained in:
parent
a09835049b
commit
c6d9c0619e
43 changed files with 129 additions and 112 deletions
|
|
@ -139,6 +139,7 @@ class ScriptDB(TypedObject):
|
|||
try:
|
||||
value = _GA(value, "dbobj")
|
||||
except AttributeError:
|
||||
# deprecated ...
|
||||
pass
|
||||
if isinstance(value, (basestring, int)):
|
||||
from evennia.objects.models import ObjectDB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue