Small bugfixes in the wake of the cmdset changes. Resolves issue 148.

This commit is contained in:
Griatch 2011-03-20 23:14:36 +00:00
parent 9d80284504
commit 75956de7d1
3 changed files with 8 additions and 3 deletions

View file

@ -612,7 +612,7 @@ class TypedObject(SharedMemoryModel):
errstring += "\nThis seems to be just the path to a module. You need"
errstring += " to specify the actual typeclass name inside the module too."
errstring += "\n Typeclass '%s' failed to load." % path
defpath = object.__getattribute__(self, default_typeclass_path)
defpath = object.__getattribute__(self, "default_typeclass_path")
errstring += " Using Default class '%s'." % defpath
self.db_typeclass_path = defpath
self.save()