Fix uploads without otherfields
otherfields addition for IMM broke other uploads. Rectify the mistake by referencing an empty tuple instead. Change-Id: I0db752351cfef4ba54cb81b551585ac5aad74f91
This commit is contained in:
@@ -45,7 +45,7 @@ uploadforms = {}
|
||||
class FileUploader(threading.Thread):
|
||||
|
||||
def __init__(self, webclient, url, filename, data=None, formname=None,
|
||||
otherfields=None):
|
||||
otherfields=()):
|
||||
self.wc = webclient
|
||||
self.url = url
|
||||
self.filename = filename
|
||||
|
||||
Reference in New Issue
Block a user