fix f-string
This commit is contained in:
parent
f04431a35f
commit
3b403ccf05
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user