mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 19:57:47 +00:00
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:
parent
399618df92
commit
3cd94503ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user