fix f-string

This commit is contained in:
KronosDev-Pro 2024-11-11 23:08:24 +00:00
parent c523872baf
commit 13b21a1e30

View File

@ -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