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

Commit 7c47e80

Browse files
committed
fixed bug
1 parent 81894e5 commit 7c47e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/create_mcp_server/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ def get_package_directory(path: Path) -> Path:
121121

122122

123123
def copy_template(
124-
path: Path, name: str, description: str, version: str = "0.1.0", template: str = "blank"
124+
path: Path, name: str, description: str, version: str = "0.1.0", template_name: str = "blank"
125125
) -> None:
126126
"""Copy template files into src/<project_name>"""
127127
template_dir = Path(__file__).parent / "template"
128-
if template == "notes":
128+
if template_name == "notes":
129129
template_dir = template_dir / "notes"
130130

131131
target_dir = get_package_directory(path)

0 commit comments

Comments
 (0)