mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
make utils.web.urlencode return a string, not bytes.
This commit is contained in:
parent
b51075969f
commit
879ce460e9
@ -69,7 +69,7 @@ else:
|
||||
urlunquote = urllib.parse.unquote
|
||||
urlopen = urllib.request.urlopen
|
||||
def urlencode(*args, **kwargs):
|
||||
return urllib.parse.urlencode(*args, **kwargs).encode()
|
||||
return urllib.parse.urlencode(*args, **kwargs)
|
||||
from urllib.error import HTTPError, URLError
|
||||
from urllib.parse import splithost, splituser
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user