From d5084359852eb0c7d2a714103e26debe2a43bf61 Mon Sep 17 00:00:00 2001 From: Andrew Browning Date: Tue, 1 Mar 2016 00:27:50 -0500 Subject: [PATCH] Fix #5431 - Typo in models Fix a typo in models.py. --- mediagoblin/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index 97dc91dc..3f36f227 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -607,7 +607,7 @@ class MediaEntry(Base, MediaEntryMixin, CommentingMixin): if ascending: query = query.order_by(Comment.added.asc()) else: - qury = query.order_by(Comment.added.desc()) + query = query.order_by(Comment.added.desc()) return FakeCursor(query, lambda c:c.comment()) -- 2.25.1