fix
This commit is contained in:
parent
d7746fa85b
commit
ef78a2b8ab
|
@ -41,7 +41,9 @@ class S:
|
|||
for img in images:
|
||||
old_key = safe_get_str(img, "src_id")
|
||||
new_key = old_key + "_h2j"
|
||||
local_path = new_key + ".jpeg"
|
||||
|
||||
arr = old_key.split("/")
|
||||
local_path = arr[len(arr) - 1] + ".jpeg"
|
||||
|
||||
ret = self.heic_to_jpg_and_save(old_key, local_path)
|
||||
logger.Info("heic_to_jpg_and_save, ret: {}".format(ret))
|
||||
|
|
Loading…
Reference in New Issue