✨ Fixed new importer SGDB cover import
This commit is contained in:
@@ -109,7 +109,7 @@ class SGDBHelper:
|
|||||||
# Download covers
|
# Download covers
|
||||||
for uri_kwargs in image_uri_kwargs_sets:
|
for uri_kwargs in image_uri_kwargs_sets:
|
||||||
try:
|
try:
|
||||||
uri = self.get_game_image_uri(sgdb_id, **uri_kwargs)
|
uri = self.get_image_uri(sgdb_id, **uri_kwargs)
|
||||||
response = requests.get(uri, timeout=5)
|
response = requests.get(uri, timeout=5)
|
||||||
tmp_file = Gio.File.new_tmp()[0]
|
tmp_file = Gio.File.new_tmp()[0]
|
||||||
tmp_file_path = tmp_file.get_path()
|
tmp_file_path = tmp_file.get_path()
|
||||||
|
|||||||
Reference in New Issue
Block a user