File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import requests ,re ,markdown2 ,os
1
+ import requests ,re ,markdown ,os
2
2
from collections import defaultdict
3
3
from datetime import datetime , timedelta
4
4
from dateutil import parser
@@ -115,7 +115,7 @@ def find_week_data(issue_details):
115
115
116
116
for week in weekly_updates :
117
117
118
- plain_text_body = markdown2 .markdown (week ['val' ]['body' ])
118
+ plain_text_body = markdown .markdown (week ['val' ]['body' ])
119
119
120
120
tasks = re .findall (r'\[(x| )\]' , plain_text_body )
121
121
total_tasks = len (tasks )
@@ -154,7 +154,7 @@ def find_week_avg(url):
154
154
155
155
if "Weekly Goals" in item ['body' ]:
156
156
w_goal_url = item ['body' ]
157
- plain_text_body = markdown2 .markdown (issue_details [0 ]['body' ])
157
+ plain_text_body = markdown .markdown (issue_details [0 ]['body' ])
158
158
159
159
tasks = re .findall (r'\[(x| )\]' , plain_text_body )
160
160
total_tasks = len (tasks )
You can’t perform that action at this time.
0 commit comments