Skip to content

Commit

Permalink
fix float | None syntax error in python 3.8 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
watzeedzad committed Apr 15, 2024
1 parent bb37dcf commit 14f32ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lncrawl/core/taskman.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def cancel_futures(self, futures: Iterable[Future]) -> None:
def resolve_futures(
self,
futures: Iterable[Future],
timeout: float | None = None,
timeout: Optional[float] = None,
disable_bar=False,
desc=None,
unit=None,
Expand Down

0 comments on commit 14f32ef

Please sign in to comment.