remove plus sign from id because it doesn't get parsed correctly in query string
This commit is contained in:
parent
04789a59fa
commit
3630b3c21a
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user