Skip to content

Fix Handling of Remote Icons in getIconSmall and getIconLarge

Alberto Flores requested to merge soybarbanegra/athenaeum:master into master

This PR resolves an issue where the codebase did not properly handle remote icons, leading to a KeyError.

Changes: Updated getIconSmall and getIconLarge methods to handle both 'cached' and 'remote' icon types.

How to Test: Clone this PR to your local machine. Run athenaeum.py script. Verify that remote icons are properly displayed, and no errors occur in the log, the program no longer crashes.

Sample image that handles the remote icon for Freeciv21 image

Merge request reports