This commit is contained in:
Thomas Krijnen
2026-01-10 11:52:08 +01:00
parent 0604db06e9
commit 0a9e29ce45
6 changed files with 15 additions and 25 deletions
+1 -3
View File
@@ -430,9 +430,7 @@ class sqlite_entity(entity_instance):
self.sqlite_wrapper.inverse_attribute_cache[name] = tuple(results)
return self.sqlite_wrapper.inverse_attribute_cache[name]
raise AttributeError(
"entity instance of type '%s' has no attribute '%s'" % (self.is_a(True), name)
)
raise AttributeError("entity instance of type '%s' has no attribute '%s'" % (self.is_a(True), name))
def unserialise_value(self, value):
if isinstance(value, (tuple, list)):