Update main.py
fix author's name
This commit is contained in:
parent
5e8f56e93c
commit
71bd149737
2
main.py
2
main.py
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user