Fix the letsencrypt script to actually ignore "no action" notifications
This commit is contained in:
parent
782f3202e3
commit
432a5614dd
1 changed files with 12 additions and 12 deletions
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
import fileinput
|
import fileinput
|
||||||
import sys
|
|
||||||
import select
|
|
||||||
|
|
||||||
import drymail # Vendored
|
import drymail # Vendored
|
||||||
|
|
||||||
|
@ -44,7 +42,9 @@ def main():
|
||||||
elif "unexpected error occurred" in line:
|
elif "unexpected error occurred" in line:
|
||||||
state = State.error
|
state = State.error
|
||||||
|
|
||||||
if state is not State.no_action:
|
if state is State.no_action:
|
||||||
|
return
|
||||||
|
|
||||||
text = "\n".join(text)
|
text = "\n".join(text)
|
||||||
subject = SUBJECT.format(str(state))
|
subject = SUBJECT.format(str(state))
|
||||||
message = drymail.Message(
|
message = drymail.Message(
|
||||||
|
|
Loading…
Add table
Reference in a new issue