mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
revert a change
This commit is contained in:
parent
1a0b954397
commit
227f7b6946
@ -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…
x
Reference in New Issue
Block a user