Small spelling fix

This commit is contained in:
2023-05-09 10:14:39 +02:00
parent 83ee6b2d55
commit d45ab051dd

View File

@ -70,9 +70,6 @@ def create_watchdog_event(path:str, rule:Any, base:str, time:float,
}
)
def valid_watchdog_event(event:Dict[str,Any])->None:
valid_meow_dict(event, "Watchdog event", WATCHDOG_EVENT_KEYS)
class FileEventPattern(BasePattern):
# The path at which events will trigger this pattern
@ -106,7 +103,7 @@ class FileEventPattern(BasePattern):
)
if len(triggering_path) < 1:
raise ValueError (
f"triggiering path '{triggering_path}' is too short. "
f"triggering path '{triggering_path}' is too short. "
"Minimum length is 1"
)