1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Don't mask unknown images.

This commit is contained in:
Joe R 2022-02-18 19:47:04 -05:00
parent 4ad11dc85a
commit e81257ebd0

View file

@ -282,7 +282,8 @@ if Image:
if findsum != -3: # -1 for every check
im = masking(im)
except Exception:
im = masking(im)
pass # placeholder
# im = masking(im) # now don't mask images with no name
im = PIL_Image(image=im)
return im
@ -299,7 +300,8 @@ if Image:
if findsum != -3: # -1 for every check
im = masking(im)
except Exception:
im = masking(im)
pass # placeholder
# im = masking(im) # now don't mask images with no name
return PIL_Image(image=im, pil_image_orig=self._pil_image_orig)