1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-13 09:30:54 +00:00

Fix formatting issue

This commit is contained in:
grossmj 2024-12-02 13:18:12 +10:00
parent b7d43b29cd
commit c05dcef54f
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -103,9 +103,9 @@ async def list_images(image_type):
"filename": filename, "filename": filename,
"path": force_unix_path(path), "path": force_unix_path(path),
"md5sum": await wait_run_in_executor(md5sum, os.path.join(root, filename)), "md5sum": await wait_run_in_executor(md5sum, os.path.join(root, filename)),
"filesize": filesize, "filesize": filesize
} }
) )
except OSError as e: except OSError as e:
log.warning(f"Can't add image {path}: {str(e)}") log.warning(f"Can't add image {path}: {str(e)}")
return images return images