Fix changelogs rss probably (#23830)
This commit is contained in:
@@ -112,7 +112,9 @@ def main():
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Copy in the stylesheet
|
# 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:
|
with sftp.open(XSL_FILE, "wb") as f, open(template_path) as fh:
|
||||||
f.write(fh)
|
f.write(fh)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user