mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
use global version of server variable
This commit is contained in:
parent
846d476d21
commit
efa9714b23
1 changed files with 1 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ def authenticate():
|
|||
Main call to do DV_SNI validation and deploy the trustify certificate
|
||||
TODO: This should be turned into a class...
|
||||
"""
|
||||
global server
|
||||
assert server or "CHOCOLATESERVER" in os.environ, "Must specify server via command line or CHOCOLATESERVER environment variable."
|
||||
if "CHOCOLATESERVER" in os.environ:
|
||||
server = os.environ["CHOCOLATESERVER"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue