whoops
This commit is contained in:
parent
90ffa3d2f5
commit
8785f1ca81
@ -371,7 +371,7 @@ class AOCharMovie(QtGui.QLabel):
|
|||||||
if ini.read_ini_bool("AO2XP.ini", "General", "download characters"):
|
if ini.read_ini_bool("AO2XP.ini", "General", "download characters"):
|
||||||
url = "base/characters/"+p_char.lower()+"/"+emote_prefix+p_emote.lower()+".png"
|
url = "base/characters/"+p_char.lower()+"/"+emote_prefix+p_emote.lower()+".png"
|
||||||
url = url.replace(" ", "%20")
|
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(
|
webp_path = test_path(
|
||||||
AOpath+"characters/"+p_char+"/"+emote_prefix+p_emote+".webp",
|
AOpath+"characters/"+p_char+"/"+emote_prefix+p_emote+".webp",
|
||||||
@ -413,7 +413,7 @@ class AOCharMovie(QtGui.QLabel):
|
|||||||
|
|
||||||
if exists(placeholder_path):
|
if exists(placeholder_path):
|
||||||
img_path = 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:
|
else:
|
||||||
img_path = ""
|
img_path = ""
|
||||||
self.use_pillow = 0
|
self.use_pillow = 0
|
||||||
@ -424,7 +424,7 @@ class AOCharMovie(QtGui.QLabel):
|
|||||||
if img_path == "":
|
if img_path == "":
|
||||||
if exists(placeholder_path):
|
if exists(placeholder_path):
|
||||||
img_path = 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:
|
else:
|
||||||
img_path = ""
|
img_path = ""
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user