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]: