If certificate list... is a string, set it as a list

parent bf8fae3d
......@@ -104,6 +104,9 @@ class NetworkcacheClient(object):
setattr(self, 'shadir_%s' % k, v)
self.signature_private_key_file = signature_private_key_file
if type(signature_certificate_list) is str:
self.signature_certificate_list = [signature_certificate_list]
else:
self.signature_certificate_list = signature_certificate_list
self.shacache_key_file = shacache_key_file
......
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