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',