From 8376e637910a7922412b8597ed2dd742c70b59fc Mon Sep 17 00:00:00 2001 From: Aaron Meese Date: Mon, 10 Aug 2020 08:10:38 -0500 Subject: [PATCH] InputGitAuthor not an attrribute I think this is mean to be a separate method when imported like this. At least, that's how it is in the example project I found, so here's to hoping. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d2edae1..f153cbf 100644 --- a/main.py +++ b/main.py @@ -487,7 +487,7 @@ if __name__ == '__main__': waka_stats = get_stats(g) rdmd = decode_readme(contents.content) new_readme = generate_new_readme(stats=waka_stats, readme=rdmd) - committer = g.InputGitAuthor('readme-bot', 'readme-bot@example.com') + committer = InputGitAuthor('readme-bot', 'readme-bot@example.com') if new_readme != rdmd: repo.update_file(path=contents.path, message='Updated with Dev Metrics', content=new_readme, sha=contents.sha, branch='master',