summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-01-11 19:39:46 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-01-11 19:39:46 +0100
commitfc94fd57daf8d494d397e33d0d648844744bb727 (patch)
tree9f5f20364482b0d1bd709cfa14b3ce92acd56d7b
parent44bfc9675204f65ea79bdefa4c66ccfedbfa0664 (diff)
tracking: Fixed typo in update_consignment().
-rw-r--r--modules/tracking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py
index 08af651..4578a3f 100644
--- a/modules/tracking.py
+++ b/modules/tracking.py
@@ -322,7 +322,7 @@ class Module:
# assume several packets within the same consignment was added as a consignment
session.rollback()
removed = True
- self.irc.msg(target, '%s: \002%s\002 conflicts with another consignment' % (target, code))
+ self.irc.msg(target, '%s: \002%s\002 conflicts with another consignment' % (target, data[0]))
break
package = session.query(Package).filter(and_(Package.consignment_id == consignment.id, Package.code == data[0])).one()