diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 05:03:26 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 05:03:26 +0100 |
commit | b6feec9e7d9232c0074511e6872e60234167f8d9 (patch) | |
tree | 878a58a4961146bf6cb3a480e90d716dd832286c /etc | |
parent | Fix background in select box (diff) | |
download | gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.gz gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.bz2 gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.lz gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.xz gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.tar.zst gpt4free-b6feec9e7d9232c0074511e6872e60234167f8d9.zip |
Diffstat (limited to 'etc')
-rw-r--r-- | etc/tool/copilot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py index 003daf58..348b8bb8 100644 --- a/etc/tool/copilot.py +++ b/etc/tool/copilot.py @@ -217,7 +217,7 @@ def main(): if not pull: print(f"No PR number found") exit() - if pull.get_reviews().totalCount > 0 or pull.get_comments().totalCount > 0: + if pull.get_reviews().totalCount > 0 or pull.get_issue_comments().totalCount > 0: print(f"Has already a review") exit() diff = get_diff(pull.diff_url) |