From 75e9759172e956af576cea479b8895963529becb Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 26 Mar 2013 16:23:37 +0100 Subject: webapp: fix problem from the previous merge --- webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp.py') 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)) -- cgit v1.2.3