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:
parent
4ad11dc85a
commit
e81257ebd0
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue