fikset en bug i db.py

This commit is contained in:
Øyvind Almelid 2010-12-14 12:11:45 +00:00
parent 698ab3c15a
commit 06affffcba
1 changed files with 1 additions and 1 deletions

2
db.py
View File

@ -68,7 +68,7 @@ class PurchaseEntry(Base):
self.amount = amount
def __repr__(self):
return "<PurchaseEntry('%s', '%s', '%s')>" % (self.purchase.user.user, self.product.name, self.amount )
return "<PurchaseEntry('%s', '%s')>" % (self.product.name, self.amount )
class Transaction(Base):