From 9671989df3f72dc18ad86def107d578d53f6fb46 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 22 Feb 2023 20:05:00 -0500 Subject: [PATCH] "Remove quotes from commit messages" --- scripts/push_git.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/push_git.py b/scripts/push_git.py index 3ea7bc5..01bf039 100644 --- a/scripts/push_git.py +++ b/scripts/push_git.py @@ -146,6 +146,8 @@ def get_git_author(repo: Repo): ## Commit changes def commit_changes(repo: Repo, message: str, author: Actor): + message = message.strip('"') + res = repo.git.commit('-S', '-m', f'"{message}"', author=f'"{author.name} <{author.email}>"') print(res) print("Committed changes!")