Skip to content

Commit 54b5e62

Browse files
committed
Check the questions having count of answer greater than zero
1 parent bba156b commit 54b5e62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/arguments/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def get_que(self, json_data):
351351
"""
352352
que_id = []
353353
for data in json_data['items']:
354-
if data["is_answered"]:
354+
if data["answer_count"]:
355355
que_id.append(data["question_id"])
356356
return que_id
357357

0 commit comments

Comments
 (0)