From c26687620bc88a18e2c0ebd3a21e47faf3db6710 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 30 Jan 2024 13:16:31 +0100 Subject: [PATCH] Fix changelog RSS (?) (#24733) --- Tools/actions_changelog_rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/actions_changelog_rss.py b/Tools/actions_changelog_rss.py index b95c2fc8e1..5e42a030bd 100755 --- a/Tools/actions_changelog_rss.py +++ b/Tools/actions_changelog_rss.py @@ -116,7 +116,7 @@ def main(): 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) + f.write(fh.read()) def create_feed(changelog: Any, previous_items: List[Any]) -> Tuple[Any, bool]: