From 39cdab6d3101cc5d535aee260034efecf4498cda Mon Sep 17 00:00:00 2001 From: atermonera Date: Wed, 23 Dec 2020 13:58:47 -0900 Subject: [PATCH] Fixes 2 typos --- tools/GenerateChangelog/ss13_autochangelog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/GenerateChangelog/ss13_autochangelog.py b/tools/GenerateChangelog/ss13_autochangelog.py index c51e9ae6eb..180c30e334 100644 --- a/tools/GenerateChangelog/ss13_autochangelog.py +++ b/tools/GenerateChangelog/ss13_autochangelog.py @@ -74,7 +74,7 @@ for line in args.pr_body.splitlines(): author.strip() if not len(author): - author = pr_author + author = args.pr_author if author not in new_logs: new_logs[author] = [] # Make array entry for the author @@ -95,7 +95,7 @@ for line in args.pr_body.splitlines(): continue # If there's just one word, then it can't really be a changelog, now can it if body[0] in validPrefixes: - tag = body[0] + tag = validPrefixes[body[0]] body = body[1].strip(" ,-:\t\n") else: # If the tag is invalid, just default to rscadd tag = "rscadd"