Skip to content

Commit 63bb202

Browse files
committed
MultipartForm: fixing syntax error
1 parent 5557554 commit 63bb202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/python/swagger.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ApiClient:
6868
if 'Content-type' not in headers:
6969
headers['Content-type'] = 'application/json'
7070
data = json.dumps(postData)
71-
else if headers['Content-type'] == 'multipart/form':
71+
elif headers['Content-type'] == 'multipart/form':
7272
headers['Content-type'] = 'multipart/form; boundry=%s' % self.boundary
7373
data = self.buildMultipartFormData(postData, files)
7474
else:

0 commit comments

Comments
 (0)