Trying to fix a logging bug?

This commit is contained in:
Scott Idem
2023-06-13 11:54:02 -04:00
parent 5281bcf79d
commit fdefe0e48f

View File

@@ -807,7 +807,13 @@ async def convert_file(
# 2K 2048x1080
# 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
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:
# *** Part 1: *** Convert the file and save the file to tmp and then save the hashed file to hosted_files directory.