Update main.py

fix author's name
This commit is contained in:
syt 2023-11-06 18:25:25 +08:00 committed by GitHub
parent 5e8f56e93c
commit 71bd149737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ def parse(plugin, **kwargs):
author_resp_info = json.loads(author_resp.content)
plugin_author = {}
if 'name' in author_resp_info:
plugin_author[author] = author_resp_info['name']
plugin_author[name] = author_resp_info['name']
if 'html_url' in author_resp_info:
plugin_author[url] = author_resp_info['html_url']
if 'avatar_url' in author_resp_info: