summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp.py b/webapp.py
index dc439a1..4ae9af5 100755
--- a/webapp.py
+++ b/webapp.py
@@ -240,7 +240,7 @@ class Application(object):
details = dict(package=package,
version=version,
architecture=architecture)
- cur.execute("SELECT count(filename), sum(size) FROM content WHERE package = ? AND function = 'sha512';",
+ cur.execute("SELECT count(filename), sum(size) FROM content WHERE package = ?;",
(package,))
num_files, total_size = cur.fetchone()
details.update(dict(num_files=num_files, total_size=total_size))