[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Yorik van Havre
parent
bcd237fa5e
commit
54d2f5a61d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user