mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
fix syntax
This commit is contained in:
@@ -168,7 +168,7 @@ def subscriptionsCancel(id):
|
||||
if removedCert:
|
||||
acmeResult=subprocess.Popen(["/home/admin/config.scripts/bonus.letsencrypt.sh", "remove-cert", removedCert['id'], removedCert['target']], stdout=subprocess.PIPE)
|
||||
out, err = acmeResult.communicate()
|
||||
if acmeResult.find("error=") > -1:
|
||||
if out.find("error=") > -1:
|
||||
time.sleep(6)
|
||||
raise BlitzError("letsancrypt acme failed", acmeResult)
|
||||
|
||||
|
Reference in New Issue
Block a user