From c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d Mon Sep 17 00:00:00 2001 From: MIDORIBIN Date: Sat, 16 Sep 2023 10:33:25 +0900 Subject: fix typo: provider -> Provider --- tool/provider_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/provider_init.py') diff --git a/tool/provider_init.py b/tool/provider_init.py index cd7f9333..fac099ed 100644 --- a/tool/provider_init.py +++ b/tool/provider_init.py @@ -3,13 +3,13 @@ from pathlib import Path def main(): content = create_content() - with open("g4f/provider/__init__.py", "w", encoding="utf-8") as f: + with open("g4f/Provider/__init__.py", "w", encoding="utf-8") as f: f.write(content) def create_content(): path = Path() - paths = path.glob("g4f/provider/*.py") + paths = path.glob("g4f/Provider/*.py") paths = [p for p in paths if p.name not in ["__init__.py", "base_provider.py"]] classnames = [p.stem for p in paths] -- cgit v1.2.3