✨ Small spelling fix
This commit is contained in:
@ -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):
|
class FileEventPattern(BasePattern):
|
||||||
# The path at which events will trigger this pattern
|
# The path at which events will trigger this pattern
|
||||||
@ -106,7 +103,7 @@ class FileEventPattern(BasePattern):
|
|||||||
)
|
)
|
||||||
if len(triggering_path) < 1:
|
if len(triggering_path) < 1:
|
||||||
raise ValueError (
|
raise ValueError (
|
||||||
f"triggiering path '{triggering_path}' is too short. "
|
f"triggering path '{triggering_path}' is too short. "
|
||||||
"Minimum length is 1"
|
"Minimum length is 1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user