fixing the requests verify missing issue #95 (#96)

This commit is contained in:
Daniel W. Anner 2023-07-31 13:14:39 -04:00 committed by GitHub
parent 0f79f452c4
commit d3916aa905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,7 +478,7 @@ class DeviceTypes:
headers = { "Authorization": f"Token {token}" }
files = { i: (os.path.basename(f), open(f,"rb") ) for i,f in images.items() }
response = requests.patch(url, headers=headers, files=files)
response = requests.patch(url, headers=headers, files=files, verify=False)
self.handle.log( f'Images {images} updated at {url}: {response}' )
self.counter["images"] += len(images)