Skip to content

Commit

Permalink
week goals metor check removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sasi2312 committed Jun 27, 2024
1 parent 35d950a commit ae79633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_issues_by_owner_id_v2(owner, issue):
# mentors_data = find_mentors(val['issue_url']) if val['issue_url'] else {'mentors': [], 'mentor_usernames': []}

if val['body_text']:
if ("Weekly Goals" in val['body_text'] and not w_goal_url) and ("@"+val['created_by'].lower() == dmp_issue_id['mentor_username'].lower() if dmp_issue_id['mentor_username'] else None):
if ("Weekly Goals" in val['body_text'] and not w_goal_url):
w_goal_url = val['body_text']
plain_text_body = markdown2.markdown(val['body_text'])
tasks = re.findall(r'\[(x| )\]', plain_text_body)
Expand Down

0 comments on commit ae79633

Please sign in to comment.