Update wikilib.py
This commit is contained in:
parent
1e416aae18
commit
08239995f3
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue