This commit is contained in:
cidoku 2025-02-25 14:41:10 -03:00
parent b19b999ffa
commit 0fc96465f1

View File

@ -2504,9 +2504,9 @@ class gui(QtGui.QWidget):
else: else:
preanim_duration = ao2_duration preanim_duration = ao2_duration
anim_to_find = test_path([AOpath+"characters/"+f_char+"/"+f_preanim+".gif", AOpath+"characters/"+f_char+"/anim/"+f_preanim+".gif"]) anim_to_find = AOpath+"characters/"+f_char+"/"+f_preanim+".gif"
apng_to_find = test_path([AOpath+"characters/"+f_char+"/"+f_preanim+".apng", AOpath+"characters/"+f_char+"/anim/"+f_preanim+".apng"]) apng_to_find = AOpath+"characters/"+f_char+"/"+f_preanim+".apng"
webp_to_find = test_path([AOpath+"characters/"+f_char+"/"+f_preanim+".webp", AOpath+"characters/"+f_char+"/anim/"+f_preanim+".webp"]) webp_to_find = AOpath+"characters/"+f_char+"/"+f_preanim+".webp"
if (not anim_to_find and not apng_to_find and not webp_to_find) or preanim_duration < 0: if (not anim_to_find and not apng_to_find and not webp_to_find) or preanim_duration < 0:
if noninterrupting: if noninterrupting: