Skip to content

Commit

Permalink
Simplify "in dictionary" condition
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Jan 6, 2025
1 parent 005f98e commit eaf6313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hv4gha/gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def __find_installation(self) -> str:
if installation.account.login.lower() == self.account.lower():
return str(installation.id)

if "next" in response.links.keys():
if "next" in response.links:
pagination_params["page"] += 1
more = True

Expand Down

0 comments on commit eaf6313

Please sign in to comment.