From 5bb5d42d0fa61f865e1575bec8ff332ced840923 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Wed, 17 Oct 2012 11:36:36 +0200 Subject: [PATCH] Fix index error in last commit --- lg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lg.py b/lg.py index 1d30949..71e76ed 100644 --- a/lg.py +++ b/lg.py @@ -183,7 +183,7 @@ def page_not_found(e): def sanitized(*args): res = tuple( unescape(s) for s in args) if len(args) == 1: - return res[1] + return res[0] else: return res