Archived
1
0
Fork 0

Update wikilib.py

This commit is contained in:
yzhh 2022-08-03 16:47:05 +08:00
parent 1e416aae18
commit 08239995f3

View file

@ -404,8 +404,11 @@ class WikiLib:
if a[0] == '?':
quote_code = False
if quote_code:
arg_list.append(urllib.parse.quote(a))
section_list.append(a)
if a == '#':
arg_list.append('#')
else:
arg_list.append(urllib.parse.quote(a))
section_list.append(a)
else:
_arg_list.append(a)
_arg = ''.join(_arg_list)