diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index f09a920..54af804 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -64,12 +64,12 @@ class TableSuperclass(object): return u"<%s object (%s)>" % (typename, pk) def __str__(self): - return str(self.__unicode__().encode('ASCII', 'replace') - .decode('ASCII')) + return str(self.__unicode__().encode('ASCII', 'replace') + .decode('ASCII')) def __repr__(self): - return str(self.__unicode__().encode('ASCII', 'replace') - .decode('ASCII')) + return str(self.__unicode__().encode('ASCII', 'replace') + .decode('ASCII')) mapped_classes = [] class TableMetaclass(DeclarativeMeta):