Fix watcher.py kwarg error

This commit is contained in:
James R. Barlow
2023-11-05 13:58:24 -08:00
parent f02ea20678
commit 55566d9830
+1 -1
View File
@@ -146,7 +146,7 @@ class HandleObserverEvent(PatternMatchingEventHandler):
def on_any_event(self, event):
if event.event_type in ['created']:
execute_ocrmypdf(event.src_path, **self._settings)
execute_ocrmypdf(file_path=event.src_path, **self._settings)
@app.command()