From 3b403ccf05d90d6e2b51b37038313b4455cbd0a9 Mon Sep 17 00:00:00 2001 From: KronosDev-Pro Date: Mon, 11 Nov 2024 23:08:24 +0000 Subject: [PATCH] fix f-string --- reflex/compiler/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/compiler/compiler.py b/reflex/compiler/compiler.py index e743fe3c8..6765e2f16 100644 --- a/reflex/compiler/compiler.py +++ b/reflex/compiler/compiler.py @@ -253,7 +253,7 @@ def _compile_root_stylesheet(stylesheets: list[str]) -> str: f'The stylesheet file "{stylesheet_full_path}" is not a valid file.' ) - stylesheet = f"./{stylesheet.rsplit(".", 1)[0].strip("/")}.css" + stylesheet = f"./{stylesheet.rsplit('.', 1)[0].strip('/')}.css" sheets.append(stylesheet) if stylesheet not in sheets else None