diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-22 16:47:10 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-22 16:47:10 +0200 |
commit | b6d7daf253436efba02f5e302afbfa432a57e542 (patch) | |
tree | 48bb41e05f082bb149d2837d9775b7b95f1cc7c0 | |
parent | 8c3a3df51eb9ae81f08136f698e1d9c554e33c95 (diff) |
tracking: Don't encode label twice.
-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 254c84f..72fbfc5 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -382,7 +382,7 @@ class Module: code = data.code last = data.date desc = data.desc - msg = '%s: \002%s\002%s %s - %s' % (consignment.nick.encode('utf-8'), package.code.encode('utf-8'), label.encode('utf-8'), last, desc) + msg = '%s: \002%s\002%s %s - %s' % (consignment.nick.encode('utf-8'), package.code.encode('utf-8'), label, last, desc) if data.delivered: session.delete(package) msg += ' (Package delivered - tracking stopped)' |