mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Fix directory fetching.
This commit is contained in:
parent
5c5cd489bc
commit
c27bcb83b8
1 changed files with 1 additions and 3 deletions
|
|
@ -254,10 +254,8 @@ class Client(ClientBase):
|
|||
alg=alg, verify_ssl=verify_ssl) if net is None else net
|
||||
|
||||
if isinstance(directory, six.string_types):
|
||||
self.directory = messages.Directory.from_json(
|
||||
directory = messages.Directory.from_json(
|
||||
self.net.get(directory).json())
|
||||
else:
|
||||
self.directory = directory
|
||||
super(Client, self).__init__(directory=directory, net=net)
|
||||
|
||||
def register(self, new_reg=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue