Skip to content

Commit

Permalink
bugfix exif database
Browse files Browse the repository at this point in the history
  • Loading branch information
outdoorbits committed Jul 1, 2024
1 parent 1f33685 commit afe40cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/lib_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ def dbInsertImage(self,ImageFileSubpathFilename):
if EXIF_Field == "ID":
EXIF_Field="ID_CAMERA"

# do not accept field names shorter then 2 characters
if len(EXIF_Field) < 2:
continue

ImageRecord[EXIF_Field] = EXIF_Value

# define/overwrite elements of ImageRecord
Expand Down

0 comments on commit afe40cf

Please sign in to comment.