mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
Warn if consume directory contains subdirectories
.
This commit is contained in:
parent
a690b1cf24
commit
22c7f309a7
2 changed files with 11 additions and 0 deletions
|
|
@ -94,6 +94,11 @@ class Consumer:
|
|||
ignored_files.append(file)
|
||||
else:
|
||||
files.append(file)
|
||||
else:
|
||||
self.logger.warning(
|
||||
"Skipping %s as it is not a file",
|
||||
entry.path
|
||||
)
|
||||
|
||||
if not files:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue