From 57b0d9d75596e2bfc0d1d4aec267eaf228f3493e Mon Sep 17 00:00:00 2001 From: sushka Date: Sat, 13 Apr 2024 21:40:11 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20changed=20the=20way=20to?= =?UTF-8?q?=20get=20platform=20in=20`ENV`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clipea/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipea/__init__.py b/clipea/__init__.py index c164570..9afcef8 100644 --- a/clipea/__init__.py +++ b/clipea/__init__.py @@ -14,7 +14,7 @@ ) ENV: dict[str, str] = { "shell": cli.get_shell(), - "platform": sys.platform, + "platform": os.getenv("OS", sys.platform), "editor": os.getenv("EDITOR", "nano"), } SYSTEM_PROMPT: str = utils.read_file(SYSTEM_PROMPT_FILE) + str(ENV)