mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
remove st tag
This commit is contained in:
@@ -205,6 +205,8 @@ def get_image_info(item: str, folder: str) -> dict[str, Any]:
|
||||
...
|
||||
if None in tags:
|
||||
tags.remove(None)
|
||||
if "st" in tags:
|
||||
tags.remove("st")
|
||||
return {"width": width, "height": height, "tags": tags, "exifdata": exifdata, "xmp": xmp}
|
||||
|
||||
|
||||
@@ -241,6 +243,8 @@ def get_tags(sidecarfile: str) -> list[str]:
|
||||
...
|
||||
if None in tags:
|
||||
tags.remove(None)
|
||||
if "st" in tags:
|
||||
tags.remove("st")
|
||||
return tags
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user