Skip to content

Commit

Permalink
Fix crashing when loading .svg images
Browse files Browse the repository at this point in the history
  • Loading branch information
vietanhdev committed Nov 10, 2024
1 parent 6d8a3da commit e6c869a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions anylabeling/views/labeling/label_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2525,6 +2525,7 @@ def scan_all_images(self, folder_path):
extensions = [
f".{fmt.data().decode().lower()}"
for fmt in QtGui.QImageReader.supportedImageFormats()
if fmt.data().decode().lower() != "svg"
]

images = []
Expand Down

0 comments on commit e6c869a

Please sign in to comment.