Fix index error in last commit
This commit is contained in:
parent
c22e73c7f8
commit
5bb5d42d0f
1 changed files with 1 additions and 1 deletions
2
lg.py
2
lg.py
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue