From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:42:26 +0000 (+1100) Subject: Fix changelogs rss probably (#23830) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=782a6adf070ef0cc3068ed4da9e471d2d4f7c530;p=space-station-14.git Fix changelogs rss probably (#23830) --- diff --git a/Tools/actions_changelog_rss.py b/Tools/actions_changelog_rss.py index 6fa6c79153..b95c2fc8e1 100755 --- a/Tools/actions_changelog_rss.py +++ b/Tools/actions_changelog_rss.py @@ -112,7 +112,9 @@ def main(): ) # 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: f.write(fh)