remove plus sign from id because it doesn't get parsed correctly in query string

This commit is contained in:
Konstantinos Koukopoulos 2013-09-30 12:10:35 +03:00
parent 04789a59fa
commit 3630b3c21a

View File

@ -58,7 +58,7 @@ class FakeMultipart(object):
def __init__(self, key_name): def __init__(self, key_name):
self.key_name = key_name self.key_name = key_name
self.parts = {} self.parts = {}
self.id = base64.b64encode(os.urandom(43)).replace('=', '') self.id = base64.b64encode(os.urandom(43)).replace('=', '').replace('+', ' ')
def complete(self): def complete(self):
total = bytearray() total = bytearray()