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

pull/18653/head
Peter Sprygada 8 years ago committed by John R Barker
parent 9cb0e771d2
commit a87d30f72f

@ -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,

Loading…
Cancel
Save