From 12c33abce0cdd5cfa64f59537988b0959be5dc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 7 Aug 2011 09:24:28 +0200 Subject: [PATCH] Fix URLMixin to use jsonport --- trytond/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/url.py b/trytond/url.py index cd5a1177a8..6bb9aae8d5 100644 --- a/trytond/url.py +++ b/trytond/url.py @@ -20,7 +20,7 @@ class URLMixin(object): hostname = CONFIG['hostname'] or unicode(socket.getfqdn(), 'utf8') url_part['hostname'] = '.'.join(encodings.idna.ToASCII(part) for part in hostname.split('.')) - url_part['port'] = CONFIG['netport'] + url_part['port'] = CONFIG['jsonport'] if isinstance(self, Model): url_part['type'] = 'model'