diff --git a/Changelog.md b/Changelog.md index 6db0f83..ae8b60d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,12 +2,6 @@ ## [Unreleased] -## [0.1.1] - 24/02/2025 - -### New - -- [#1] Add exiftool json output. - ## [0.1.0] - 24/02/2025 - Initial release. \ No newline at end of file diff --git a/exif_database/exiftool.py b/exif_database/exiftool.py index 48419da..caad3de 100644 --- a/exif_database/exiftool.py +++ b/exif_database/exiftool.py @@ -1,7 +1,7 @@ """ exif-database.exiftool: Python wrapper around exiftool(1) """ -import json + import subprocess import sys from datetime import datetime @@ -122,4 +122,4 @@ def execute_exiftool(img_file: str) -> dict: if __name__ == '__main__': - print(json.dumps(execute_exiftool(sys.argv[1]), default=str)) + print(execute_exiftool(sys.argv[1])) diff --git a/pyproject.toml b/pyproject.toml index 2d9a32f..ded4e1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "exif-database" -version = "0.1.1" +version = "0.1.0" authors = [ { name = "Aloïs Micard", email = "alois@micard.lu" }, ]