Commit d5f525ab authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typos

parent 86a50847
......@@ -122,7 +122,7 @@ class RequestManager(Logged):
url += _encode(path[1:] if path.startswith('/') else path)
delim = '?'
for key, val in params.items():
val = _encode(u'%s' % val)
val = '' if val in (None, False) else _encode(u'%s' % val)
url += '%s%s%s' % (delim, key, ('=%s' % val) if val else '')
delim = '&'
parsed = urlparse(url)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment