Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Izalia Mae 2020-12-05 05:34:58 +00:00
parent bc0914b5c1
commit 63be7f2034
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ async def fetch_nodeinfo(domain):
if not nodeinfo_url: if not nodeinfo_url:
return return
nodeinfo_data = await fetch_actor(nodeinfo_url) nodeinfo_data = await fetch_actor(nodeinfo_url, headers=headers)
software = nodeinfo_data.get('software') software = nodeinfo_data.get('software')
return software.get('name') if software else None return software.get('name') if software else None