From b6d7daf253436efba02f5e302afbfa432a57e542 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 22 Aug 2011 16:47:10 +0200 Subject: tracking: Don't encode label twice. --- modules/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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)' -- cgit v1.2.3