Skip to content

Commit 4ce9ea6

Browse files
committed
markdown2 not found issue fix
1 parent 0110629 commit 4ce9ea6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def get_issues_by_owner_id(owner, issue):
260260
if val['body_text']:
261261
if "Weekly Goals" in val['body_text'] and not w_goal_url:
262262
w_goal_url = val['body_text']
263-
plain_text_body = markdown2.markdown(val['body_text'])
263+
plain_text_body = markdown.markdown(val['body_text'])
264264

265265
tasks = re.findall(r'\[(x| )\]', plain_text_body)
266266
total_tasks = len(tasks)

v2_app.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import traceback,re
22
from flask import Blueprint, jsonify, request
3-
import markdown2
43
import markdown
54
from utils import require_secret_key
65
from db import SupabaseInterface
@@ -60,7 +59,7 @@ def get_issues_by_owner_id_v2(owner, issue):
6059

6160
if ("Weekly Learnings" in val['body_text'] and not w_learn_url):
6261
w_learn_url = val['body_text']
63-
plain_text_wurl = markdown2.markdown(val['body_text'])
62+
plain_text_wurl = markdown.markdown(val['body_text'])
6463

6564

6665
# mentors = mentors_data['mentors']

v2_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import logging,re,markdown2
1+
import logging,re,markdown
22

33
# Func to create name and link for all mentors and contributors
44
def define_link_data(usernames):

0 commit comments

Comments
 (0)