From 6ae963bad2387b7ca878dceaf14e88105b2ed66b Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Wed, 24 Jul 2024 15:41:20 +0000 Subject: [PATCH] fix string path --- src/utils/extentions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/extentions.py b/src/utils/extentions.py index 847bf9d..b88ae64 100644 --- a/src/utils/extentions.py +++ b/src/utils/extentions.py @@ -45,7 +45,7 @@ def download_extentions(): downloaded_extentions.append(path.as_posix()) continue response = httpx.get(extention.browser_download_url) - Path("{EXTENTIONS_PATH}").mkdir(exist_ok=True) + Path(EXTENTIONS_PATH).mkdir(exist_ok=True) if not Path(f"{EXTENTIONS_PATH}/{extention.name}").is_file(): with Path(f"{EXTENTIONS_PATH}/{extention.name}").open("wb") as f: f.write(response.content)