Use verify=True to remove requests warnings
This commit is contained in:
parent
9f183d7e0a
commit
cc6a534ba4
|
@ -33,7 +33,7 @@ def check_unknown_cuts(uuids, creds):
|
|||
raise ValueError('PETALE_AUTHENTIC SETTINGS improperly defined')
|
||||
|
||||
url = urljoin(authentic_url, 'api/users/synchronization/')
|
||||
response = requests.post(url, json={"known_uuids": list(uuids)}, auth=creds, verify=False)
|
||||
response = requests.post(url, json={"known_uuids": list(uuids)}, auth=creds)
|
||||
response.raise_for_status()
|
||||
data = response.json()
|
||||
return data.get("unknown_uuids") or []
|
||||
|
|
Loading…
Reference in New Issue