From 018efc576b9fccd70bac699989e57ce2458e2f98 Mon Sep 17 00:00:00 2001 From: Lenz Weber Date: Sun, 26 Jun 2016 10:18:58 +0200 Subject: [PATCH] wait until file is completely transmitted negation was missing for feature to be active, see #128 --- src/documents/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/consumer.py b/src/documents/consumer.py index 3d66d581d..cc23a5b46 100644 --- a/src/documents/consumer.py +++ b/src/documents/consumer.py @@ -100,7 +100,7 @@ class Consumer(object): if doc in self._ignore: continue - if self._is_ready(doc): + if not self._is_ready(doc): continue if self._is_duplicate(doc):