Patch from Xavier ALT <x.alt@ajm.lu>

lp bug: https://launchpad.net/bugs/270826 fixed

bzr revid: stephane@tinyerp.com-20081010100421-o7bgtbemo57yzqxt
This commit is contained in:
Stephane Wirtel 2008-10-10 12:04:21 +02:00
parent ea436aa74c
commit 89b9a827d0
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ priorities = {
class rpc_proxy(object):
def __init__(self, uid, passwd, host='localhost', port=8069, path='object', dbname='terp'):
self.rpc = xmlrpclib.ServerProxy('http://%s:%s/%s' % (host, port, path))
self.rpc = xmlrpclib.ServerProxy('http://%s:%s/xmlrpc/%s' % (host, port, path))
self.user_id = uid
self.passwd = passwd
self.dbname = dbname