From 06affffcbad4ed6528a5727662f85d419442b88e Mon Sep 17 00:00:00 2001 From: almelid Date: Tue, 14 Dec 2010 12:11:45 +0000 Subject: [PATCH] fikset en bug i db.py --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index bfb382c..03ac4fa 100644 --- a/db.py +++ b/db.py @@ -68,7 +68,7 @@ class PurchaseEntry(Base): self.amount = amount def __repr__(self): - return "" % (self.purchase.user.user, self.product.name, self.amount ) + return "" % (self.product.name, self.amount ) class Transaction(Base):