This commit is contained in:
cidoku 2025-06-19 21:33:08 -04:00
parent 90ffa3d2f5
commit 8785f1ca81

View File

@ -371,7 +371,7 @@ class AOCharMovie(QtGui.QLabel):
if ini.read_ini_bool("AO2XP.ini", "General", "download characters"):
url = "base/characters/"+p_char.lower()+"/"+emote_prefix+p_emote.lower()+".png"
url = url.replace(" ", "%20")
thread.start_new_thread(download_thread, (url, alt_path))
thread.start_new_thread(download_thread, (url, png_path))
webp_path = test_path(
AOpath+"characters/"+p_char+"/"+emote_prefix+p_emote+".webp",
@ -413,7 +413,7 @@ class AOCharMovie(QtGui.QLabel):
if exists(placeholder_path):
img_path = placeholder_path
print "[debug] Sprite not found: ", p_char, p_emote, emote_prefix, gif_path, alt_path, apng_path
print "[debug] Sprite not found: ", p_char, p_emote, emote_prefix
else:
img_path = ""
self.use_pillow = 0
@ -424,7 +424,7 @@ class AOCharMovie(QtGui.QLabel):
if img_path == "":
if exists(placeholder_path):
img_path = placeholder_path
print "[debug] Sprite not found: ", p_char, p_emote, emote_prefix, gif_path, alt_path, apng_path
print "[debug] Sprite not found: ", p_char, p_emote, emote_prefix
else:
img_path = ""
else: