Skip to content

Commit 5576059

Browse files
committed
chore(visual recognition v3): Apply manual changes for threshold
1 parent a5bec46 commit 5576059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm_watson/visual_recognition_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def classify(self,
166166
form_data.append(('url', (None, url, 'text/plain')))
167167
if threshold:
168168
form_data.append(
169-
('threshold', (None, threshold, 'application/json')))
169+
('threshold', (None, str(threshold), 'application/json')))
170170
if owners:
171171
owners = self._convert_list(owners)
172172
form_data.append(('owners', (None, owners, 'text/plain')))

0 commit comments

Comments
 (0)