From 5bdee90ecd41efbb8a0661db7cbdb0740168df2b Mon Sep 17 00:00:00 2001 From: Etoh Date: Sat, 5 Nov 2022 20:19:59 +0000 Subject: [PATCH] Fallback check on reason value for SSL reason --- syncplay/protocols.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/protocols.py b/syncplay/protocols.py index b9e1db4..70c6f5b 100755 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -112,7 +112,7 @@ class SyncClientProtocol(JSONCommandProtocol): elif "mismatched_id=DNS_ID" in str(reason.value): self._client.ui.showErrorMessage(getMessage("startTLS-server-certificate-invalid-DNS-ID")) self._client._clientSupportsTLS = False - elif "tls" in str(reason.stack): + elif "tls" in str(reason.stack) or "SSL" in str(reason.value): self._client._clientSupportsTLS = False except: pass