Skip to content

Commit a7559fc

Browse files
Merge pull request #134 from kushshiv/master
Check the questions having count of answer greater than zero
2 parents bba156b + 54b5e62 commit a7559fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)