From b61d4d48e130e8f9fc12c5a7470a2d53b7aa1e36 Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Tue, 3 Oct 2023 17:06:20 +0100 Subject: [PATCH] use pathlib for local paths --- datashuttle/tui/view/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datashuttle/tui/view/app.py b/datashuttle/tui/view/app.py index a2a1abdbf..a54822116 100644 --- a/datashuttle/tui/view/app.py +++ b/datashuttle/tui/view/app.py @@ -10,7 +10,7 @@ class MyApp(App): TITLE = "DataShuttle" tui_path = Path(__file__).parents[1] - CSS_PATH = rf"{tui_path}\css\tab_content.tcss" + CSS_PATH = tui_path / "css" / "tab_content.tcss" def compose(self) -> ComposeResult: yield Header()