From 62c1e7d8b4fcc9caaf6e442a5f139c802e61c848 Mon Sep 17 00:00:00 2001 From: involution Date: Tue, 19 Nov 2024 06:35:19 -0500 Subject: [PATCH] iii --- nvchecker_source/github.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nvchecker_source/github.py b/nvchecker_source/github.py index 780287c..573f323 100644 --- a/nvchecker_source/github.py +++ b/nvchecker_source/github.py @@ -222,10 +222,9 @@ async def get_version_real( url += '?' + urlencode(parameters) data = await cache.get_json(url, headers=headers) - version = data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.') result = RichResult( - version=version, + version=data[0]['commit']['committer']['date'].rstrip('Z').replace('-', '').replace(':', '').replace('T', '.'), revision=data[0]['sha'], url=data[0]['html_url'], )