diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/soledad/server/_blobs.py | 2 |
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, |