From 44f565f34f5cdf8c0a67ee0190b47473ae7377f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 3 Oct 2013 22:58:09 +0200 Subject: [PATCH] =?utf8?q?Refactoring=20pour=20prendre=20en=20compte=20nou?= =?utf8?q?velle=20signature=20de=20=C2=AB=C2=A0translate=C2=A0=C2=BB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/price.py b/price.py index fc74252..dae05fb 100755 --- a/price.py +++ b/price.py @@ -70,7 +70,7 @@ class Price(object, Persistent) : n = str(round(n, 2)) i, d = n.split('.') ds = _(u'${i}.${d}', mapping={'i':i, 'd':d}, default=n) - return translate(ds, getRequest()).encode('utf-8') + return translate(ds).encode('utf-8') def getValues(self) : values = {'value':self._price, -- 2.20.1