Skip to content

Commit

Permalink
dev(narugo): try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Sep 13, 2024
1 parent 565f4b4 commit 1953a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skpick/check/hqimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
def is_hqimage(file, face_threshold: int = 5000):
try:
image = Image.open(file)
image.load()
except UnidentifiedImageError:
return False
except OSError:
Expand Down

0 comments on commit 1953a21

Please sign in to comment.