diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-08-31 15:48:23 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2015-08-31 15:48:23 -0300 |
commit | 3342cc75c8ad63a0a08d1116e0e4b9bc890271a2 (patch) | |
tree | 35ea6e8110c8f195932c34abeaed19e6de90179b /client/src/leap/soledad/client/http_target/send.py | |
parent | 8a80c8a2475580d3d6b4ae365cc00e09059ec587 (diff) |
[bug] emit dict instead of str
- Resolves: #7412
Diffstat (limited to 'client/src/leap/soledad/client/http_target/send.py')
-rw-r--r-- | client/src/leap/soledad/client/http_target/send.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/leap/soledad/client/http_target/send.py b/client/src/leap/soledad/client/http_target/send.py index 72c33c6c..71157da5 100644 --- a/client/src/leap/soledad/client/http_target/send.py +++ b/client/src/leap/soledad/client/http_target/send.py @@ -95,8 +95,8 @@ class HTTPDocSender(object): def _emit_send_status(idx, total): + content = {'sent': idx, 'total': total} + emit(SOLEDAD_SYNC_SEND_STATUS, content) + msg = "%d/%d" % (idx, total) - emit( - SOLEDAD_SYNC_SEND_STATUS, - "Soledad sync send status: %s" % msg) logger.debug("Sync send status: %s" % msg) |