diff options
-rw-r--r-- | client/src/leap/soledad/client/encdecpool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/encdecpool.py b/client/src/leap/soledad/client/encdecpool.py index c0a05d38..d9a72b25 100644 --- a/client/src/leap/soledad/client/encdecpool.py +++ b/client/src/leap/soledad/client/encdecpool.py @@ -23,6 +23,7 @@ during synchronization. import multiprocessing +import Queue import json import logging @@ -186,7 +187,7 @@ class SyncEncrypterPool(SyncEncryptDecryptPool): try: doc = self._sync_queue.get(True, self.ENCRYPT_LOOP_PERIOD) self._encrypt_doc(doc) - except multiprocessing.Queue.Empty: + except Queue.Empty: pass def _encrypt_doc(self, doc): |