Unbreak db.connect(), whoops.
[zzz-pokedex.git] / pokedex / db / tables.py
index 5670da9..55cd487 100644 (file)
@@ -62,6 +62,9 @@ class TableSuperclass(object):
     def __str__(self):
         return unicode(self).encode('utf8')
 
+    def __repr__(self):
+        return unicode(self).encode('utf8')
+
 mapped_classes = []
 class TableMetaclass(DeclarativeMeta):
     def __init__(cls, name, bases, attrs):