From 51a8e39660bae7a49ed2ee2e6ba07c6e6ca5b9fc Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:06:30 +0200 Subject: [PATCH] Fix broken setup_git command --- ryujinx_mako/commands/setup_git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryujinx_mako/commands/setup_git.py b/ryujinx_mako/commands/setup_git.py index cd4a26c..c7e373c 100644 --- a/ryujinx_mako/commands/setup_git.py +++ b/ryujinx_mako/commands/setup_git.py @@ -29,7 +29,7 @@ class SetupGit(GithubSubcommand): self.logger.debug(f"Getting GitHub user for: {gh_username}") user = self.github.get_user(gh_username) - email = GH_EMAIL_TEMPLATE.format(user_id=user.id, username=user.name) + email = GH_EMAIL_TEMPLATE.format(user_id=user.id, username=user.login) if args.local: self.logger.debug("Setting git identity for local repo...") @@ -37,7 +37,7 @@ class SetupGit(GithubSubcommand): self.logger.debug("Setting git identity globally...") base_command.append("--global") - config = {"user.name": user.name, "user.email": email} + config = {"user.name": user.login, "user.email": email} for option, value in config.items(): self.logger.info(f"Setting git {option} to: {value}") command = base_command.copy()