forked from rDrama/rDrama
1
0
Fork 0

dont print shit i dont care about

master
Aevann 2023-08-04 17:07:51 +03:00
parent 58bc85c146
commit b8dd67088b
1 changed files with 2 additions and 6 deletions

View File

@ -236,12 +236,8 @@ def process_image(filename, v, resize=0, trim=False, uploader_id=None, db=None):
with Image.open(img_path) as i:
i_hash = str(imagehash.phash(i))
if i_hash in hashes.keys():
print(STARS, flush=True)
print(hashes[i_hash], flush=True)
print(img_path, flush=True)
print(STARS, flush=True)
else: hashes[i_hash] = img_path
if i_hash not in hashes.keys():
hashes[i_hash] = img_path
with Image.open(filename) as i:
i_hash = str(imagehash.phash(i))