| changeset 70 | a9ee0fe847a8 |
| parent 67 | d1912509f375 |
--- a/iro/acounting.py Fri Nov 18 22:36:50 2011 +0100 +++ b/iro/acounting.py Fri Nov 18 22:47:25 2011 +0100 @@ -13,7 +13,7 @@ self.id=id if user: self.connect() - self.cursor.execute ("INSERT INTO %s (id,user) VALUES ('%s','%s')" % (self.connection['overview'], self.id,user.name)) + self.cursor.execute ("INSERT INTO %s (id,user) VALUES ('%s','%s')" % (self.connection['overview'], self.id, user)) self.disconnect()