Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

... #10

  • Loading branch information...
commit 2e1ae8f74c6025212793a8b5a50538ca250cdb1d 1 parent fa49299
@posativ authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  weave/__init__.py
  2. +1 −1  weave/minimal/storage.py
View
2  weave/__init__.py
@@ -19,7 +19,7 @@
#
# lightweight firefox weave/sync server
-__version__ = '0.19.3'
+__version__ = '0.19.4'
import sys; reload(sys)
sys.setdefaultencoding('utf-8')
View
2  weave/minimal/storage.py
@@ -168,7 +168,7 @@ def get_collection_usage(app, environ, request, version, uid):
res = {}
for table in iter_collections(dbpath):
v = db.execute('SELECT SUM(payload_size) FROM %s' % table).fetchone()[0] or 0
- res[table] = v[0]/1024.0
+ res[table] = v/1024.0
js = json.dumps(res)
return Response(js, 200, content_type='application/json',

0 comments on commit 2e1ae8f

Please sign in to comment.
Something went wrong with that request. Please try again.