diff --git a/src/utils/web.py b/src/utils/web.py index 81fb889eb..8bc280a2d 100644 --- a/src/utils/web.py +++ b/src/utils/web.py @@ -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