We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2db35bd commit fd15bc1Copy full SHA for fd15bc1
1 file changed
scripts/generate_pr_from_issue.py
@@ -63,8 +63,6 @@ def check_link_availability(test_url):
63
title = issue['title'].replace('[Project Proposal]: ','')
64
fname = title.replace(' ','_')
65
66
- path = os.path.dirname('/projects/project-{}.md'.format(fname))
67
- os.makedirs(path, exist_ok=True)
68
- with open('{}/project-{}.md'.format(path,fname), "w") as f:
+ with open(f'projects/project-{fname}.md', "w") as f:
69
f.write('## '+title+'\n\n'+issue['body'])
70
- print('wrote {}/project-{}.md'.format(path,fname))
+ print(f'wrote projects/project-{fname}.md')
0 commit comments