1 --- jsonrpc/proxy.py.orig 2011-11-16 11:44:06.145643756 +0200
2 +++ jsonrpc/proxy.py 2011-11-16 11:45:27.198537988 +0200
4 postdata = dumps({"method": self.__serviceName, 'params': args, 'id':'jsonrpc'})
5 respdata = urllib.urlopen(self.__serviceURL, postdata).read()
7 - if resp['error'] != None:
8 + if 'error' in resp and resp['error'] != None:
9 raise JSONRPCException(resp['error'])