Update NSLGameScanner.py

This commit is contained in:
Roy 2024-12-13 10:57:00 -08:00 committed by GitHub
parent 516992e797
commit c92defb786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -304,7 +304,7 @@ def download_artwork(game_id, art_type, shortcut_id, dimensions=None):
except requests.exceptions.RequestException as e: except requests.exceptions.RequestException as e:
print(f"Error downloading image: {e}") print(f"Error downloading image: {e}")
if art_type == 'icons': if art_type == 'icons':
download_artwork(game_id, 'icons_ico', shortcut_id) download_artwork(game_id, 'icons', shortcut_id)
if data is None: if data is None: