summaryrefslogtreecommitdiff
path: root/fbin.py
diff options
context:
space:
mode:
Diffstat (limited to 'fbin.py')
-rwxr-xr-xfbin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fbin.py b/fbin.py
index 15ba13e..14ba18d 100755
--- a/fbin.py
+++ b/fbin.py
@@ -356,6 +356,7 @@ class Application(object):
'root': settings.virtual_root,
'user': user,
'files': files,
+ 'total_size': db.File.pretty_size(sum([f.get_size() for f in files])),
}))
def images(self, environ, start_response, path):
@@ -370,6 +371,7 @@ class Application(object):
'root': settings.virtual_root,
'user': user,
'files': files,
+ 'total_size': db.File.pretty_size(sum([f.get_size() for f in files])),
}))
def thumb(self, environ, start_response, path):