mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
revert a change
This commit is contained in:
parent
e2b607f24e
commit
ba48e0ca1a
@ -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