mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
revert a change
This commit is contained in:
parent
1a0b954397
commit
227f7b6946
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class Command(BaseCommand):
|
|||
if options["oneshot"]:
|
||||
return
|
||||
|
||||
if settings.CONSUMER_POLLING == 0:
|
||||
if settings.CONSUMER_POLLING == 0 and INotify:
|
||||
self.handle_inotify(directory, recursive)
|
||||
else:
|
||||
self.handle_polling(directory, recursive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue