Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 7a8ca56

Browse files
Add from_branch to replace_text in __main__.py
1 parent 7cabd68 commit 7a8ca56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/python3_pip_skeleton/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def replace_text(text: str) -> str:
6464
text = text.replace("python3_pip_skeleton", package)
6565
text = text.replace("Firstname Lastname", full_name)
6666
text = text.replace("[email protected]", email)
67+
text = text.replace("main", from_branch)
6768
return text
6869

6970
branches = list_branches(path)

0 commit comments

Comments
 (0)