utils.http: Fix joining.

This commit is contained in:
Florian Bruhin 2014-08-12 09:03:59 +02:00
parent 157f5b211f
commit 91a701552d

View File

@ -105,7 +105,7 @@ def change_content_type(reply, mapping):
except KeyError:
pass
if rest is not None:
header = ';'.join(content_type, rest)
header = ';'.join((content_type, rest))
else:
header = content_type
reply.setHeader(QNetworkRequest.ContentTypeHeader, header)