From 63bb20238bd62a915d2f26900de5cd31ba1b712c Mon Sep 17 00:00:00 2001 From: James Ebentier Date: Tue, 3 Feb 2015 19:01:31 -0800 Subject: [PATCH] MultipartForm: fixing syntax error --- src/main/resources/python/swagger.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/python/swagger.mustache b/src/main/resources/python/swagger.mustache index e87b834d786..834be596c4c 100644 --- a/src/main/resources/python/swagger.mustache +++ b/src/main/resources/python/swagger.mustache @@ -68,7 +68,7 @@ class ApiClient: if 'Content-type' not in headers: headers['Content-type'] = 'application/json' data = json.dumps(postData) - else if headers['Content-type'] == 'multipart/form': + elif headers['Content-type'] == 'multipart/form': headers['Content-type'] = 'multipart/form; boundry=%s' % self.boundary data = self.buildMultipartFormData(postData, files) else: