YAML coverage parser fixed to equate "NO_MESSAGE" with None
This commit is contained in:
parent
a6e80af64f
commit
2ec9c7cc1a
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ def obit_coverage(obituaries, text):
|
||||||
|
|
||||||
def actions_coverage(actions, text):
|
def actions_coverage(actions, text):
|
||||||
for name, action in actions:
|
for name, action in actions:
|
||||||
if action["message"] == None:
|
if action["message"] == None or action["message"] == "NO_MESSAGE":
|
||||||
action["message"] = True
|
action["message"] = True
|
||||||
if action["message"] != True:
|
if action["message"] != True:
|
||||||
if search(action["message"], text):
|
if search(action["message"], text):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue