From ff2f3c31db7566b1925f22d4f2ed3ecafe1b5fef Mon Sep 17 00:00:00 2001 From: Amaury Chamayou Date: Mon, 30 Mar 2020 11:28:26 +0100 Subject: [PATCH] Bugfix (#81) --- cimetrics/github_pr.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cimetrics/github_pr.py b/cimetrics/github_pr.py index 6fa7c52..e1910e1 100644 --- a/cimetrics/github_pr.py +++ b/cimetrics/github_pr.py @@ -74,7 +74,7 @@ def first_self_comment(self): for comment in rep.json(): login = comment.get("user", {}).get("login") - if login == self.env.pr_user(): + if login == self.env.pr_user: return comment["id"] return None diff --git a/setup.py b/setup.py index 084e84b..11daeae 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name="cimetrics", - version="0.2.10", + version="0.2.11", description="Lightweight python module to track crucial metrics", long_description=long_description, long_description_content_type='text/markdown',