Have every class inherit from object.
This commit is contained in:
parent
a8127b0f41
commit
de0e42240c
14 changed files with 33 additions and 22 deletions
|
|
@ -24,6 +24,8 @@ Common examples of uses of Scripts:
|
|||
- Give the player/object a time-limited bonus/effect
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import models
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
|
|
@ -105,7 +107,7 @@ class ScriptDB(TypedObject):
|
|||
__defaultclasspath__ = "evennia.scripts.scripts.DefaultScript"
|
||||
__applabel__ = "scripts"
|
||||
|
||||
class Meta:
|
||||
class Meta(object):
|
||||
"Define Django meta options"
|
||||
verbose_name = "Script"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue