Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
VLucet committed Nov 22, 2023
1 parent 9befdff commit 8392eca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mdtools/readexif.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def read_exif_from_md(md_result: MDResult or str, tags: list = DEFAULT_TAGS,
base_name_out = os.path.join(os.path.dirname(md_result), folder)
name_out = base_name_out + "_exif.csv"

print(base_path)

elif isinstance(md_result, MDResult):

md = md_result.md_data
Expand All @@ -63,6 +65,8 @@ def read_exif_from_md(md_result: MDResult or str, tags: list = DEFAULT_TAGS,

filenames = [os.path.join(base_path, img["file"]) for img in batch]

print(filenames[0])


with exiftool.ExifToolHelper() as et:
tags_data = [et.get_tags(filename, tags)[0]
Expand Down

0 comments on commit 8392eca

Please sign in to comment.