Skip to content

Fix .ico extension check in GroupIcon.export()#5

Open
jlu5 wants to merge 1 commit into
npjg:mainfrom
jlu5:ico-export
Open

Fix .ico extension check in GroupIcon.export()#5
jlu5 wants to merge 1 commit into
npjg:mainfrom
jlu5:ico-export

Conversation

@jlu5
Copy link
Copy Markdown

@jlu5 jlu5 commented May 17, 2026

The right check would be export_filepath[-4:] instead of export_filepath[:-4], but endswith() is equivalent and easier to understand.

This was comparing the filename with the extension removed to ".ico" instead of the extension.
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