Skip to content

Fix configuration and encoding bugs in helper scripts#3398

Open
aoright wants to merge 1 commit into
521xueweihan:masterfrom
aoright:fix/script-bugs
Open

Fix configuration and encoding bugs in helper scripts#3398
aoright wants to merge 1 commit into
521xueweihan:masterfrom
aoright:fix/script-bugs

Conversation

@aoright

@aoright aoright commented Jun 30, 2026

Copy link
Copy Markdown

This pull request resolves two bugs under the script/ directory: 1. Refactored static API URL generation in github_bot.py to be dynamic, enabling user-configured accounts to be queried properly. 2. Added explicit UTF-8 encoding (via io.open) for reading and writing files in make_content.py to prevent encoding crashes on Windows.

This resolves two bugs under script/ directory: 1. Refactored static API URL generation in github_bot.py to be dynamic, enabling user-configured accounts to be queried properly. 2. Added explicit UTF-8 encoding (via io.open) for reading and writing files in make_content.py to prevent encoding crashes on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant