Increase door control communication timeout

This commit is contained in:
Adam Goldsmith 2018-05-08 20:36:54 -04:00
parent c222a2198f
commit 198cf59409

View File

@ -104,7 +104,7 @@ def doRequest(ip, params=None, files=None):
params=params,
files=files,
auth=requests.auth.HTTPDigestAuth(DOOR_USERNAME, DOOR_PASSWORD),
timeout=1,
timeout=10,
verify=False) # ignore insecure SSL
if r.status_code != 200:
print("Door Updating Error: ", r.status_code, r.reason)