Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtn1ng authored Oct 27, 2024
1 parent dadf4a3 commit 7457d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theHarvester/discovery/githubcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def handle_response(self, response: tuple[str, dict, int, Any]) -> ErrorRe
return ErrorResult(500, str(e))

@staticmethod
async def next_page_or_end(result: SuccessResult) -> int | None:
async def next_page_or_end(result: SuccessResult) -> int:
if result.next_page is not None:
return result.next_page
else:
Expand Down

0 comments on commit 7457d6f

Please sign in to comment.