mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
add casting 'max_page' to int
This commit is contained in:
parent
a7f7a632a2
commit
e2f68f764d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ async def get_version_real(name, conf, **kwargs):
|
|||
return await max_tag(partial(
|
||||
session.get, headers=headers, **kwargs),
|
||||
url, name, ignored_tags, include_tags_pattern,
|
||||
max_page = conf.get("max_page", 1),
|
||||
max_page = conf.getint("max_page", 1),
|
||||
)
|
||||
|
||||
async with session.get(url, headers=headers, **kwargs) as res:
|
||||
|
|
Loading…
Add table
Reference in a new issue