1
0
Fork 0

Fix Runtime Errors

This commit is contained in:
Joao Gilberto Magalhaes 2023-02-08 20:29:40 -06:00
parent c3caa3af90
commit cd2a3c6b9c
4 changed files with 10 additions and 9 deletions

View file

@ -22,7 +22,7 @@ def start():
haproxy.haproxy("start")
haproxy.sleep()
certbot = Certbot(Consts.certs_letsencrypt, os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL"), os.getenv("EASYHAPROXY_LETSENCRYPT_SERVER", "false").lower())
certbot = Certbot(Consts.certs_letsencrypt, os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL"), os.getenv("EASYHAPROXY_LETSENCRYPT_SERVER", "").lower())
while True:
if old_haproxy is not None:
@ -70,4 +70,4 @@ def main():
start()
if __name__ == '__main__':
main()
main()