From 7c47e802f2db84f0b20e94365c53b26dcc60ec6b Mon Sep 17 00:00:00 2001 From: Zachary Lee Date: Mon, 9 Dec 2024 17:34:08 -0500 Subject: [PATCH] fixed bug --- src/create_mcp_server/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/create_mcp_server/__init__.py b/src/create_mcp_server/__init__.py index 4c4fd4b..df5bd5a 100644 --- a/src/create_mcp_server/__init__.py +++ b/src/create_mcp_server/__init__.py @@ -121,11 +121,11 @@ def get_package_directory(path: Path) -> Path: def copy_template( - path: Path, name: str, description: str, version: str = "0.1.0", template: str = "blank" + path: Path, name: str, description: str, version: str = "0.1.0", template_name: str = "blank" ) -> None: """Copy template files into src/""" template_dir = Path(__file__).parent / "template" - if template == "notes": + if template_name == "notes": template_dir = template_dir / "notes" target_dir = get_package_directory(path)