diff --git a/files/routes/static.py b/files/routes/static.py index 4862376cf..55c78bd87 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -20,7 +20,7 @@ def privacy(v): def marseys(v): if SITE_NAME == 'Drama': marseys = g.db.query(Marsey, User).join(User, User.id==Marsey.author_id) - sort = request.values.get(sort, "usage") + sort = request.values.get("sort", "usage") if sort == "usage": marseys = marseys.order_by(Marsey.count.desc()) else: marseys = marseys.order_by(User.username) else: