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()