mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +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"]:
|
if options["oneshot"]:
|
||||||
return
|
return
|
||||||
|
|
||||||
if settings.CONSUMER_POLLING == 0:
|
if settings.CONSUMER_POLLING == 0 and INotify:
|
||||||
self.handle_inotify(directory, recursive)
|
self.handle_inotify(directory, recursive)
|
||||||
else:
|
else:
|
||||||
self.handle_polling(directory, recursive)
|
self.handle_polling(directory, recursive)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue