mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
iii
This commit is contained in:
parent
79214329c9
commit
62c1e7d8b4
1 changed files with 1 additions and 2 deletions
|
@ -222,10 +222,9 @@ async def get_version_real(
|
||||||
url += '?' + urlencode(parameters)
|
url += '?' + urlencode(parameters)
|
||||||
|
|
||||||
data = await cache.get_json(url, headers=headers)
|
data = await cache.get_json(url, headers=headers)
|
||||||
version = data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.')
|
|
||||||
|
|
||||||
result = RichResult(
|
result = RichResult(
|
||||||
version=version,
|
version=data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.'),
|
||||||
revision=data[0]['sha'],
|
revision=data[0]['sha'],
|
||||||
url=data[0]['html_url'],
|
url=data[0]['html_url'],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue