From b088b0657582d42ddda9b78d9c25868c9a4e8f60 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 19 May 2024 15:45:57 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Messages/CodeBlock.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/CodeBlock.svelte b/src/lib/components/chat/Messages/CodeBlock.svelte index 4131fbd85..b9f6382ab 100644 --- a/src/lib/components/chat/Messages/CodeBlock.svelte +++ b/src/lib/components/chat/Messages/CodeBlock.svelte @@ -213,7 +213,7 @@ __builtins__.input = input`);
{@html lang}
- {#if ['', 'python'].includes(lang) && (lang === 'python' || checkPythonCode(code))} + {#if lang === 'python' || (lang === '' && checkPythonCode(code))} {#if executing}
Running
{:else}