Visitar URL original
Fix avatar model names cut by rstrip by zzoraemon043 · Pull Request #169 · NyarchLinux/NyarchAssistant · GitHub
Skip to content

Fix avatar model names cut by rstrip - #169

Merged
FrancescoCaracciolo merged 1 commit into
NyarchLinux:masterfrom
zzoraemon043:fix/model-name-suffix
Oct 26, 2026
Merged

FrancescoCaracciolo merged 1 commit into
NyarchLinux:masterfrom
zzoraemon043:fix/model-name-suffix

Conversation

@zzoraemon043

Copy link
Copy Markdown

Fixes #168

rstrip removes a set of characters so names ending in one of them lose letters
fuxuan.model3.json showed as fuxua and old.model.json as an empty name
The VRM list had the same problem (mom.vrm showed as mo)

Both now use removesuffix

@FrancescoCaracciolo
FrancescoCaracciolo merged commit af6900d into NyarchLinux:master Oct 26, 2026
@FrancescoCaracciolo

Copy link
Copy Markdown

Thank you for the contribution

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.

Live2D model dropdown truncates names: str.rstrip() used instead of removing the suffix

2 participants