]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix changelog RSS (?) (#24733)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Tue, 30 Jan 2024 12:16:31 +0000 (13:16 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Jan 2024 12:16:31 +0000 (13:16 +0100)
Tools/actions_changelog_rss.py

index b95c2fc8e123c4c3f40ebfec5de5848aba57b32a..5e42a030bde4105017e672ca1f263c93ad15f31b 100755 (executable)
@@ -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]: