Commit 5c960190 by Solo Group

VSI

1 parent ec16dbd7
......@@ -48,7 +48,7 @@ class Vendor(VendorClass):
try:
with requests.session():
resp = requests.post(url, data=data,
verify=False, headers=headers)
verify=False, headers=headers, timeout=15)
except:
resp = None
......@@ -61,7 +61,7 @@ class Vendor(VendorClass):
with requests.session():
resp = requests.get(url, params=params,
verify=False, headers=headers)
verify=False, headers=headers, timeout=15)
except:
resp = None
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!