From e81fc9fbf8908307f4bdf1ef746a033c2c28ea28 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sun, 1 May 2022 16:08:20 -0600 Subject: [PATCH] Fix commit processing --- jarvis/utils/updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/utils/updates.py b/jarvis/utils/updates.py index 02de535..b9d61c9 100644 --- a/jarvis/utils/updates.py +++ b/jarvis/utils/updates.py @@ -60,7 +60,7 @@ def get_all_commands(module: ModuleType = jarvis.cogs) -> Dict[str, Callable]: def get_git_changes(repo: git.Repo) -> dict: """Get all Git changes""" logger.debug("Getting all git changes") - head = repo.head + head = repo.head.ref current_hash = head.object.hexsha tracking = head.tracking_branch()