We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 274df48 commit e5191bbCopy full SHA for e5191bb
sklearn/fmlearn/utils/response_construction.py
@@ -10,7 +10,7 @@ def construct_response(data, meta_data=False):
10
if data == {} or data == []:
11
print('Empty Response from Server!')
12
return response
13
- if data['response'] != "":
+ if 'response' in data:
14
print(data['response'])
15
return
16
if type(data) == list:
0 commit comments