Skip to content

Commit 756b3d4

Browse files
authored
Update update_readme.py
1 parent 885710b commit 756b3d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update_readme.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def get_data(user_repo):
5656

5757
# README.md 링크만 추출
5858
if "README.md" in item['path']:
59-
links.add(f"https://github.com/{user_repo}/blob/main/{item['path']}")
59+
links.append(f"https://github.com/{user_repo}/blob/main/{item['path']}")
6060
else:
61-
links.add(f"https://github.com/{user_repo}/blob/main/{item['path']}") # 다른 파일이 있다면 그대로 추가
61+
links.append(f"https://github.com/{user_repo}/blob/main/{item['path']}") # 다른 파일이 있다면 그대로 추가
6262

6363
return sites, difficulties, problems, commit_times, links
6464

0 commit comments

Comments
 (0)