Always use forward slash for ToC file

This commit is contained in:
Veronica Berglyd Olsen
2024-11-24 19:25:46 +01:00
parent 0449cf824d
commit e30d2cbbf1
2 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ class NWTree:
file = f"{item.itemHandle}.nwd"
if (contentPath / file).is_file():
tocLine = "{0:<25s} {1:<9s} {2:<8s} {3:s}".format(
str(Path("content") / file),
f"content/{file}",
item.itemClass.name,
item.itemLayout.name,
item.itemName,