From 198cf59409d9e30d59ea7e3f4ac37a244f1e0154 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 8 May 2018 20:36:54 -0400 Subject: [PATCH] Increase door control communication timeout --- doorUpdater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doorUpdater.py b/doorUpdater.py index b3e42ca..600c933 100644 --- a/doorUpdater.py +++ b/doorUpdater.py @@ -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)