From: Pieter-Jan Briers Date: Tue, 30 Jan 2024 12:16:31 +0000 (+0100) Subject: Fix changelog RSS (?) (#24733) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c26687620bc88a18e2c0ebd3a21e47faf3db6710;p=space-station-14.git Fix changelog RSS (?) (#24733) --- 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]: