Skip to content

Commit

Permalink
fix: raise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohulan committed Jun 9, 2023
1 parent 504b394 commit b2dad4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DECIMER/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def remove_transparent(image_path: str):
png = HEIF_to_pillow(image_path)
else:
print(e)
raise Exception

background = Image.new("RGBA", png.size, (255, 255, 255))

Expand Down

0 comments on commit b2dad4d

Please sign in to comment.