[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-02-05 20:16:26 +00:00
committed by Yorik van Havre
parent d8e9c46e09
commit 5867aedd3b

View File

@@ -183,7 +183,11 @@ def get_location(page):
location = PREFS.GetString("Location", "")
if not location:
location = os.path.join(
FreeCAD.getUserAppDataDir(), "Mod", "offline-documentation", "FreeCAD-documentation-main", "wiki"
FreeCAD.getUserAppDataDir(),
"Mod",
"offline-documentation",
"FreeCAD-documentation-main",
"wiki",
)
location = os.path.join(location, page + ".md")
return location