projects
/
xonotic
/
xonotic.wiki.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
forgot format()
[xonotic/xonotic.wiki.git]
/
assets
/
check-and-fix.py
diff --git
a/assets/check-and-fix.py
b/assets/check-and-fix.py
index
f8833d8
..
3c2861d
100755
(executable)
--- a/
assets/check-and-fix.py
+++ b/
assets/check-and-fix.py
@@
-199,7
+199,7
@@
def link_to_path(current_file: str, link: str) -> str:
# when not using subdirs, nothing or "." works for all 3
if link.startswith("..") or link.startswith("/"):
# when not using subdirs, nothing or "." works for all 3
if link.startswith("..") or link.startswith("/"):
- print("file: {} bad link: {}"
, link
)
+ print("file: {} bad link: {}"
.format(current_file, link)
)
# path relative to wiki root, not curent file
current_dir = dirname(current_file)
# path relative to wiki root, not curent file
current_dir = dirname(current_file)