Skip to content

Commit 68bfa29

Browse files
Update main-script.py
1 parent 8a193fd commit 68bfa29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main-script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def rewriteContents(old_content, new_content):
5959
with open(readme_path, 'r', encoding='utf-8') as f:
6060
readme = f.read()
6161

62-
readmeRepo = git.search_repositories(f"{git_username}/{repoName}")[0]
62+
readmeRepo = git.get_repo(f"{git_username}/{repoName}")
6363
contents = readmeRepo.get_contents(f'{sys.argv[2]}')
6464

6565
newContent = []

0 commit comments

Comments
 (0)