Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix typo #9

Merged
merged 1 commit into from
Jul 8, 2021
Merged

Fix typo #9

merged 1 commit into from
Jul 8, 2021

Conversation

FinBird
Copy link
Contributor

@FinBird FinBird commented Jul 8, 2021

不存在字段 'auth_data',只有'bgm_auth_data'
未修改前报错信息:

Traceback (most recent call last):
File "bili2bgm.py", line 44, in
loop.run_until_complete(main())
File "D:\anaconda3\lib\asyncio\base_events.py", line 579, in run_until_complete
return future.result()
File "bili2bgm.py", line 38, in main
await get_and_update(bili2bgm_map, bili_auth_data, BILI_UID, bgm_auth_data)
File "update.py", line 241, in get_and_update
await data.update_bgm_data_task
File "update.py", line 137, in update_bgm_data
await gather(*data.update_one_bgm_data_tasks)
File "update.py", line 92, in update_one_bgm_data
lambda: client.post(
File "utilities.py", line 67, in try_for_times_async_chain
result = await func()
File "update.py", line 95, in
headers={'Authorization': data.auth_data}
AttributeError: 'types.SimpleNamespace' object has no attribute 'auth_data'

不存在字段 'auth_data',只有'bgm_auth_data'
@NKID00 NKID00 merged commit 9b9c343 into wopub:master Jul 8, 2021
@NKID00
Copy link
Collaborator

NKID00 commented Jul 8, 2021

非常感谢!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants