From 227f7b6946c119fd3b69f9313ea49c08f3d22310 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Thu, 21 Jan 2021 22:29:47 +0100 Subject: [PATCH] revert a change --- src/documents/management/commands/document_consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/management/commands/document_consumer.py b/src/documents/management/commands/document_consumer.py index 690f5299a..9ba1b1a87 100644 --- a/src/documents/management/commands/document_consumer.py +++ b/src/documents/management/commands/document_consumer.py @@ -153,7 +153,7 @@ def handle(self, *args, **options): 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)