summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/http_target/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad/client/http_target/fetch.py')
-rw-r--r--client/src/leap/soledad/client/http_target/fetch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/http_target/fetch.py b/client/src/leap/soledad/client/http_target/fetch.py
index d38ecb19..34d7cb0b 100644
--- a/client/src/leap/soledad/client/http_target/fetch.py
+++ b/client/src/leap/soledad/client/http_target/fetch.py
@@ -244,6 +244,8 @@ class HTTPDocFetcher(object):
def _emit_receive_status(received_docs, total):
+ content = {'received': received_docs, 'total': total}
+ emit(SOLEDAD_SYNC_RECEIVE_STATUS, content)
+
msg = "%d/%d" % (received_docs, total)
- emit(SOLEDAD_SYNC_RECEIVE_STATUS, msg)
logger.debug("Sync receive status: %s" % msg)