fixes exception raised when extracting timeout value from ModuleStub in eapi (#18651)

This commit is contained in:
Peter Sprygada 2016-11-28 11:00:15 -05:00 committed by John R Barker
parent 9cb0e771d2
commit a87d30f72f

View file

@ -206,7 +206,7 @@ class Eapi(EosConfigMixin):
data = json.dumps(body)
headers = {'Content-Type': 'application/json-rpc'}
timeout = self.url_args['timeout']
timeout = self.url_args.params['timeout']
response, headers = fetch_url(
self.url_args, self.url, data=data, headers=headers,