✨ Toy workflow addition
This commit is contained in:
@ -87,8 +87,8 @@ class PythonHandler(BaseHandler):
|
||||
msg = ""
|
||||
if type(event[EVENT_RULE].recipe) != PythonRecipe:
|
||||
msg = "Recipe is not a PythonRecipe. "
|
||||
if event[EVENT_TYPE] != EVENT_TYPE_WATCHDOG:
|
||||
msg += f"Event type is not {EVENT_TYPE_WATCHDOG}."
|
||||
# if event[EVENT_TYPE] != EVENT_TYPE_WATCHDOG:
|
||||
# msg += f"Event type is not {EVENT_TYPE_WATCHDOG}."
|
||||
if msg:
|
||||
return False, msg
|
||||
else:
|
||||
|
Reference in New Issue
Block a user