revert a change

This commit is contained in:
jonaswinkler 2021-01-21 22:29:47 +01:00
parent 1a0b954397
commit 227f7b6946

View File

@ -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)