mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Merge pull request #102 from donfranio/fix-wrong-config-param-type-max_page
read 'max_page' as int
This commit is contained in:
commit
34ce4b0678
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