File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,11 @@ def populate_answer_data(self, questions_list):
7979 json_ans_data = resp .json ()
8080 for item in json_ans_data ["items" ]:
8181 if not (self .answer_data [item ['question_id' ]]):
82- self .answer_data [item ['question_id' ]] = item ['body_markdown' ]
83-
82+ self .answer_data [item ['question_id' ]] = item ['body_markdown' ]
8483 # Sometimes the StackExchange API fails to deliver some answers. The below code is to fetch them
8584 failed_ques_id = [question [1 ] for question in self .questions_data if not (self .answer_data [question [1 ]])]
8685 if not (len (failed_ques_id ) == 0 ):
87- self .populate_answer_data (failed_ques_id )
86+ self .populate_answer_data (failed_ques_id )
8887
8988 def return_formatted_ans (self , ques_id ):
9089 # This function uses pygments lexers ad formatters to format the content in the preview screen
You can’t perform that action at this time.
0 commit comments