X-Git-Url: https://scm.cri.minesparis.psl.eu/git/photoprint.git/blobdiff_plain/063fb5ff0fbf7309b36761708e9ab00f39681246..3f87de671d3ed1b8029efd733b10010d97a40e23:/price.py?ds=inline

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,