Skip to content

Commit

Permalink
Merge pull request #186 from weka-io/master
Browse files Browse the repository at this point in the history
bug fix: convert plumbum's LocalPath objects to strings before passing to ssl
  • Loading branch information
tomerfiliba committed Feb 10, 2016
2 parents 7599ccf + a859dad commit a5b966e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpyc/utils/authenticators.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class SSLAuthenticator(object):

def __init__(self, keyfile, certfile, ca_certs = None, cert_reqs = None,
ssl_version = None, ciphers = None):
self.keyfile = keyfile
self.certfile = certfile
self.ca_certs = ca_certs
self.keyfile = str(keyfile)
self.certfile = str(certfile)
self.ca_certs = str(ca_certs) if ca_certs else None
self.ciphers = ciphers
if cert_reqs is None:
if ca_certs:
Expand Down

0 comments on commit a5b966e

Please sign in to comment.