diff --git a/syncplay/client.py b/syncplay/client.py index 7687874..dcc715a 100755 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -759,7 +759,7 @@ class SyncplayClient(object): self._endpoint = HostnameEndpoint(reactor, host, port) try: caCertFP = open(os.environ['SSL_CERT_FILE']) - caCertTwisted = Certificate.loadPEM(caCertFP.read().encode('utf-8') + caCertTwisted = Certificate.loadPEM(caCertFP.read().encode('utf-8')) caCertFP.close() self.protocolFactory.options = optionsForClientTLS(hostname=host) self._clientSupportsTLS = True