mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
add heif/heic support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -112,7 +112,7 @@ def cleanup_tmpdr():
|
||||
for name in files:
|
||||
try:
|
||||
_, extension = os.path.splitext(name)
|
||||
if extension not in {".png", ".jpg", ".webp", ".jxl"}:
|
||||
if extension not in {".png", ".jpg", ".webp", ".jxl", ".heic", ".heif", ".mp4", ".webm"}:
|
||||
continue
|
||||
filename = os.path.join(root, name)
|
||||
os.remove(filename)
|
||||
|
||||
Reference in New Issue
Block a user