fix errors and better linux/windows handling in tests

This commit is contained in:
shukari
2025-08-21 15:56:10 +02:00
parent dd238dcbe3
commit fe093ac34b
4 changed files with 17 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ def root_dir() -> str:
app_author = "meshtastic"
app_dir = platformdirs.user_data_dir(app_name, app_author)
dir_name = Path(app_dir, "slogs")
dir_name.mkdir(exist_ok=True)
dir_name.mkdir(exist_ok=True, parents=True)
return str(dir_name)