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: