Skip to content

Commit 24be2a3

Browse files
authored
Merge pull request #10 from juliencombattelli/master
Use "0" as default argument for page_from parameter
2 parents cd2110c + c5a624f commit 24be2a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypisearch/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Search:
1515
def __init__(
1616
self,
1717
query: str,
18-
page_from: str = "",
18+
page_from: str = "0",
1919
page_to: Optional[str] = None,
2020
) -> None:
2121
page_from, page_to = int(page_from), int(page_to) if page_to else None

0 commit comments

Comments
 (0)