mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Adding initial data via Django's syncdb facility. We will no longer distribute a SQLite DB in the near future in favor of this cross-platform alternative. Also in this commit is a crash fix for @dig with SQLite.
This commit is contained in:
parent
26a354204c
commit
3292405fcb
7 changed files with 38 additions and 1 deletions
|
|
@ -441,6 +441,7 @@ class Object(models.Model):
|
|||
try:
|
||||
return self.location
|
||||
except:
|
||||
functions_general.print_errmsg("Object '%s(#%d)' has invalid location: #%s" % (self.name,self.id,self.location_id))
|
||||
return False
|
||||
|
||||
def get_attribute_value(self, attrib, default=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue