Skip to content

Commit e5191bb

Browse files
committed
fixed issue with response construction
1 parent 274df48 commit e5191bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/fmlearn/utils/response_construction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def construct_response(data, meta_data=False):
1010
if data == {} or data == []:
1111
print('Empty Response from Server!')
1212
return response
13-
if data['response'] != "":
13+
if 'response' in data:
1414
print(data['response'])
1515
return
1616
if type(data) == list:

0 commit comments

Comments
 (0)