ssl update

#12
This commit is contained in:
blacktwin 2017-10-20 15:21:00 -04:00 committed by GitHub
parent dd8d22de70
commit f3e2097f1b

View File

@ -34,8 +34,9 @@ AGENT_ID = 14 # Notification agent ID for PlexPy
##/EDIT THESE SETTINGS ##
plex = PlexServer(PLEX_URL, PLEX_TOKEN)
sess = requests.Session()
sess.verify = False
plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
def send_notification(subject_text, body_text):
# Send the notification through PlexPy