aboutsummaryrefslogtreecommitdiff
path: root/app/views/packages.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-19 20:20:05 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-19 20:20:05 +0100
commit6e1921f68b9cdef739cb1bd91b972a47fc7cf7b0 (patch)
treef236fa8f92de11957234e7d4f04f861632ba6e59 /app/views/packages.py
parent060d60ba4686a3299a774c824cc81916ebed3fba (diff)
downloadcheatdb-6e1921f68b9cdef739cb1bd91b972a47fc7cf7b0.tar.xz
Add release ID to JSON download
Diffstat (limited to 'app/views/packages.py')
-rw-r--r--app/views/packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/packages.py b/app/views/packages.py
index 6428339..1f9d570 100644
--- a/app/views/packages.py
+++ b/app/views/packages.py
@@ -33,7 +33,8 @@ def doPackageList(type):
return jsonify(pkgs)
else:
tags = Tag.query.all()
- return render_template("packages/list.html", title=title, packages=query.all(), query=search, tags=tags, type=None if type is None else type.toName())
+ return render_template("packages/list.html", title=title, packages=query.all(), \
+ query=search, tags=tags, type=None if type is None else type.toName())
@app.route("/packages/")