From f127c9ed756ede03321397e6137747bbcdd4b60c Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sun, 13 Dec 2020 18:21:20 +0100 Subject: [PATCH] fix gitlab -> Gitlab #23 --- kabot/kabot/kabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 67f57c6..78dba6e 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -79,7 +79,7 @@ class Mybot(commands.Cog): async def commits(self, ctx, number = 5): if self.gl_url and self.gl_token: number = int(number) - gl = gitlab.gitlab(self.gl_url, self.gl_token) + gl = gitlab.Gitlab(self.gl_url, self.gl_token) gl.auth() projects = gl.projects.list(search='Kabot')[0] commits = projects.commits.list(all=True)[:number] @@ -107,7 +107,7 @@ class Mybot(commands.Cog): if self.gl_url and self.gl_token: if args: args = list(args) - gl = gitlab.gitlab(self.gl_url, self.gl_token) + gl = gitlab.Gitlab(self.gl_url, self.gl_token) gl.auth() if args[0] == 'list': projects = gl.projects.list(search='Kabot')[0]