forked from rDrama/rDrama
fuck sake
parent
a6ce6135d8
commit
566c5b19e3
|
@ -28,7 +28,7 @@ def marseys(v):
|
||||||
else: marseys = marseys.order_by(User.username, Marsey.count.desc()).all()
|
else: marseys = marseys.order_by(User.username, Marsey.count.desc()).all()
|
||||||
|
|
||||||
original = listdir("/asset_submissions/marseys/original")
|
original = listdir("/asset_submissions/marseys/original")
|
||||||
for marsey in marseys:
|
for marsey, user in marseys:
|
||||||
if f'{marsey.name}.png' in original:
|
if f'{marsey.name}.png' in original:
|
||||||
marsey.og = f'{marsey.name}.png'
|
marsey.og = f'{marsey.name}.png'
|
||||||
elif f'{marsey.name}.webp' in original:
|
elif f'{marsey.name}.webp' in original:
|
||||||
|
|
Loading…
Reference in New Issue