1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-25 08:14:42 +01:00

Fix index error in last commit

This commit is contained in:
Mehdi Abaakouk 2012-10-17 11:36:36 +02:00
parent c22e73c7f8
commit 5bb5d42d0f

2
lg.py
View file

@ -183,7 +183,7 @@ def page_not_found(e):
def sanitized(*args): def sanitized(*args):
res = tuple( unescape(s) for s in args) res = tuple( unescape(s) for s in args)
if len(args) == 1: if len(args) == 1:
return res[1] return res[0]
else: else:
return res return res