summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/resources/sync_info_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/sync_info_resource.py b/service/pixelated/resources/sync_info_resource.py
index 5aa94218..791c5add 100644
--- a/service/pixelated/resources/sync_info_resource.py
+++ b/service/pixelated/resources/sync_info_resource.py
@@ -32,7 +32,7 @@ class SyncInfoResource(Resource):
return self.current / float(self.total)
def set_sync_info(self, soledad_sync_status):
- self.current, self.total = map(int, soledad_sync_status.content.split('/'))
+ self.current, self.total = [int(x) for x in soledad_sync_status.content.split('/')]
def render_GET(self, request):
_sync_info = {