diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2013-11-19 18:21:52 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2013-11-19 18:21:52 +0100 |
commit | 29328242db875656b13f8401948ebae4991a0df6 (patch) | |
tree | ca8e80a436b8b5202fce59bf000d8ac40bac4095 | |
parent | 6701d9f5e320a0f803db75ecd93d7695324d0674 (diff) |
tracking: Use consignment code+label when announcing conflicts.
-rw-r--r-- | modules/tracking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index 6d41d37..0597832 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -548,7 +548,7 @@ url [TRACKINGNO] - Lists URLs for matches to the corresponding website''') # 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' % (consignment.nick.encode('utf-8'), data.code)) + self.irc.msg(target, '%s: %s conflicts with another consignment' % (consignment.nick.encode('utf-8'), consignment)) break package = session.query(Package).filter(and_(Package.consignment_id == consignment.id, Package.code == data.code)).one() |