Fix hat submission for some animated images.
parent
7f7180ea05
commit
ac36b35588
|
@ -247,8 +247,8 @@ if SITE not in ('pcmemes.net', 'watchpeopledie.tv'):
|
||||||
os.remove(highquality)
|
os.remove(highquality)
|
||||||
return error("Images must be 100x130")
|
return error("Images must be 100x130")
|
||||||
|
|
||||||
if len(list(Iterator(i))) > 1: price = 1000
|
if len(list(Iterator(i))) > 1: price = 1000
|
||||||
else: price = 500
|
else: price = 500
|
||||||
|
|
||||||
filename = f'/asset_submissions/hats/{name}.webp'
|
filename = f'/asset_submissions/hats/{name}.webp'
|
||||||
copyfile(highquality, filename)
|
copyfile(highquality, filename)
|
||||||
|
|
Loading…
Reference in New Issue