After processing the backlog, continue processes new scans
This commit is contained in:
parent
0b22bf5796
commit
a009ee7710
|
@ -33,7 +33,7 @@ def main():
|
|||
for i, filename in enumerate(os.listdir(args.watch_path)):
|
||||
path = args.watch_path / filename
|
||||
_handle_write_complete(path, args.paperless_url, args.paperless_api_key, i)
|
||||
return
|
||||
LOGGER.info("Completed backlog, waiting for new scans")
|
||||
try:
|
||||
run(args.watch_path, args.paperless_url, args.paperless_api_key)
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Reference in New Issue