From 9602dd993d3b2043c4d8832c58f9d79cdd16761e Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Sat, 9 Jul 2016 19:21:57 -0400 Subject: [PATCH] Oops, fix first vs last sha in comparison view --- realms/modules/wiki/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realms/modules/wiki/views.py b/realms/modules/wiki/views.py index 6b00643..98d586d 100644 --- a/realms/modules/wiki/views.py +++ b/realms/modules/wiki/views.py @@ -28,7 +28,7 @@ def compare(name, fsha, dots, lsha): if current_app.config.get('PRIVATE_WIKI') and current_user.is_anonymous(): return current_app.login_manager.unauthorized() - diff = g.current_wiki.get_page(name, sha=fsha).compare(lsha) + diff = g.current_wiki.get_page(name, sha=lsha).compare(fsha) return render_template('wiki/compare.html', name=name, diff=diff, old=fsha, new=lsha)