From e94be2c21730a2b9eb4e59e5abbbf03afc28c27d Mon Sep 17 00:00:00 2001 From: "dries.k" Date: Thu, 21 Jul 2022 17:36:23 +0200 Subject: [PATCH] add cert_reqs key --- gotify_tray/gotify/listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotify_tray/gotify/listener.py b/gotify_tray/gotify/listener.py index 5cdc234..817e665 100644 --- a/gotify_tray/gotify/listener.py +++ b/gotify_tray/gotify/listener.py @@ -72,7 +72,7 @@ class Listener(QtCore.QThread): self.running = True try: if platform.system() == "Darwin": - self.ws.run_forever(sslopt={ssl.CERT_NONE}) + self.ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE}) else: self.ws.run_forever() finally: