2
0
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:
Jarrod Johnson 2018-06-26 16:57:05 -04:00
parent 399618df92
commit 3cd94503ff

View File

@ -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