summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-09-01 15:09:15 +0300
committerYuval Adam <_@yuv.al>2022-09-01 15:09:15 +0300
commit842c3ecb7c784f7c702c6ce73f5357154247bcd0 (patch)
treeee4d81bc571c97d4584ad6e7c1ada1c7b9f07043
parent28ce3dbacc5a77a9ba4c52e7cb489181284eebd3 (diff)
Disable SSL warnings
-rw-r--r--cron/handler.py3
1 files changed, 3 insertions, 0 deletions
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():