runtime/WampClient.py
changeset 4118 f9f116d8a022
parent 4117 49e297aaf694
child 4122 e2a9eaf4889a
--- a/runtime/WampClient.py	Wed Feb 26 16:31:59 2025 +0100
+++ b/runtime/WampClient.py	Wed Feb 26 16:33:13 2025 +0100
@@ -362,7 +362,7 @@
     if os.path.exists(_WampTrust):
         cert = crypto.load_certificate(
             crypto.FILETYPE_PEM,
-            six.u(open(_WampTrust, 'r').read())
+            open(_WampTrust, 'rb').read()
         )
         trustRoot=OpenSSLCertificateAuthorities([cert])
     return optionsForClientTLS(_transportFactory.host, trustRoot=trustRoot)