Fix changelogs rss probably (#23830)

(cherry picked from commit 782a6adf07)
This commit is contained in:
metalgearsloth
2024-01-26 22:21:52 +01:00
committed by Debug
parent 993e69a85a
commit f70bc1483d
+3 -1
View File
@@ -112,7 +112,9 @@ def main():
)
# Copy in the stylesheet
template_path = pathlib.Path(__file__, 'changelogs', XSL_FILE)
dir_name = os.path.dirname(__file__)
template_path = pathlib.Path(dir_name, 'changelogs', XSL_FILE)
with sftp.open(XSL_FILE, "wb") as f, open(template_path) as fh:
f.write(fh)