Trying to fix a logging bug?
This commit is contained in:
@@ -807,7 +807,13 @@ async def convert_file(
|
|||||||
# 2K 2048x1080
|
# 2K 2048x1080
|
||||||
# HD 1920x1080
|
# HD 1920x1080
|
||||||
# Save as webp with 3840 size and 90 lossy quality works well for posters. Better than in the past with PNG. Higher resolution and smaller file size! -2023-05-04
|
# Save as webp with 3840 size and 90 lossy quality works well for posters. Better than in the past with PNG. Higher resolution and smaller file size! -2023-05-04
|
||||||
images = convert_from_path(full_file_path, size=(3840, None)) # 2160 works well
|
|
||||||
|
|
||||||
|
return mk_resp(data=None, status_code=500, response=commons.response)
|
||||||
|
|
||||||
|
|
||||||
|
# images = convert_from_path(full_file_path, size=(3840, None)) # 2160 works well
|
||||||
|
images = [] # delete this
|
||||||
for image in images:
|
for image in images:
|
||||||
# *** Part 1: *** Convert the file and save the file to tmp and then save the hashed file to hosted_files directory.
|
# *** Part 1: *** Convert the file and save the file to tmp and then save the hashed file to hosted_files directory.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user