summaryrefslogtreecommitdiff
path: root/src/leap/soledad
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad')
-rw-r--r--src/leap/soledad/server/_blobs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/server/_blobs.py b/src/leap/soledad/server/_blobs.py
index 6f298ba7..85983bd1 100644
--- a/src/leap/soledad/server/_blobs.py
+++ b/src/leap/soledad/server/_blobs.py
@@ -145,7 +145,7 @@ class FilesystemBlobsBackend(object):
base_path = self._get_path(user, custom_preffix=namespace)
count = 0
for _, _, filenames in os.walk(base_path):
- count += len(filenames)
+ count += len(filter(lambda i: not i.endswith('.flags'), filenames))
return json.dumps({"count": count})
def list_blobs(self, user, request, namespace='', order_by=None,