Run 2to3.
This commit is contained in:
parent
a5a8d9dd57
commit
6fa280b9fd
157 changed files with 976 additions and 976 deletions
|
|
@ -141,7 +141,7 @@ class ScriptDB(TypedObject):
|
|||
except AttributeError:
|
||||
# deprecated ...
|
||||
pass
|
||||
if isinstance(value, (basestring, int)):
|
||||
if isinstance(value, (str, int)):
|
||||
from evennia.objects.models import ObjectDB
|
||||
value = to_str(value, force_string=True)
|
||||
if (value.isdigit() or value.startswith("#")):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue