From 7457d6fb85869ad3a740c8aa7bb9b3b24f215fd1 Mon Sep 17 00:00:00 2001 From: "J.Townsend" Date: Sun, 27 Oct 2024 01:46:06 +0000 Subject: [PATCH] Fix mypy --- theHarvester/discovery/githubcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theHarvester/discovery/githubcode.py b/theHarvester/discovery/githubcode.py index 0ac1ceb9e1d..8864ef8784e 100644 --- a/theHarvester/discovery/githubcode.py +++ b/theHarvester/discovery/githubcode.py @@ -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: