Commit 182878c8 authored by Marco Mariani's avatar Marco Mariani

behave correctly when key_file or cert_file are not configured

parent e5420582
...@@ -71,7 +71,10 @@ class ClientConfig(object): ...@@ -71,7 +71,10 @@ class ClientConfig(object):
else: else:
setattr(self, 'master_url', master_url) setattr(self, 'master_url', master_url)
if self.key_file:
self.key_file = os.path.expanduser(self.key_file) self.key_file = os.path.expanduser(self.key_file)
if self.cert_file:
self.cert_file = os.path.expanduser(self.cert_file) self.cert_file = os.path.expanduser(self.cert_file)
def init(config): def init(config):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment