Commit 716e74a2 authored by Michal Čihař's avatar Michal Čihař

Improve joining of strings

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 2a32ae90
......@@ -90,7 +90,7 @@ class MachineTranslation(object):
# Append parameters
if len(params) > 0 and not http_post:
url = '%s?%s' % (url, params)
url = '?'.join((url, params))
# Create request object with custom headers
request = Request(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