dont check badges for duplicate images

pull/64/head
Aevann1 2022-12-10 10:26:55 +02:00
parent ce27be1d4a
commit 84b1d2a7d7
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ def process_image(filename:str, v, resize=0, trim=False, uploader_id:Optional[in
path = filename.rsplit('/', 1)[0]
kind = path.split('/')[-1]
if kind in ('banners','sidebar','badges'):
if kind in ('banners','sidebar'):
hashes = {}
for img in os.listdir(path):