From 842c3ecb7c784f7c702c6ce73f5357154247bcd0 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 1 Sep 2022 15:09:15 +0300 Subject: Disable SSL warnings --- cron/handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cron/handler.py b/cron/handler.py index a4ea1f3..8c52d0f 100644 --- a/cron/handler.py +++ b/cron/handler.py @@ -3,6 +3,7 @@ import re import boto3 import requests +import urllib3 from requests_ntlm import HttpNtlmAuth @@ -10,6 +11,8 @@ from datetime import datetime, timedelta from io import BytesIO from os import environ +urllib3.disable_warnings() + class GeshemUpdate(): -- cgit v1.3.1