Skip to content

Add icon type description for the icon_path property under ServerProxy.servers #527

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

chengs
Copy link

@chengs chengs commented Apr 22, 2025

in IconHandler

with open(self.icons[name]) as f:

Reading the icon file is under text (not binary) mode, thus only text-based icon types are supported
by the icon_path property.

The long-term solution would be fixing the IconHandler class.
This PR is a short-team solution, ie, adding description for the icon_path mentioning that only text-based
(well most of cases, SVG) are supported.

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