mirror of
https://github.com/sileht/bird-lg.git
synced 2025-03-20 11:33:22 +01:00
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):
|
||||
res = tuple( unescape(s) for s in args)
|
||||
if len(args) == 1:
|
||||
return res[1]
|
||||
return res[0]
|
||||
else:
|
||||
return res
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue