Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswinkler committed Jan 21, 2021
1 parent 1a0b954 commit 227f7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/management/commands/document_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 227f7b6

Please sign in to comment.