From c05dcef54f3becf33dbd933a9a2b51ada8696a8f Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 2 Dec 2024 13:18:12 +1000 Subject: [PATCH] Fix formatting issue --- gns3server/utils/images.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gns3server/utils/images.py b/gns3server/utils/images.py index d7adf362..6f52f9b4 100644 --- a/gns3server/utils/images.py +++ b/gns3server/utils/images.py @@ -103,9 +103,9 @@ async def list_images(image_type): "filename": filename, "path": force_unix_path(path), "md5sum": await wait_run_in_executor(md5sum, os.path.join(root, filename)), - "filesize": filesize, - } - ) + "filesize": filesize + } + ) except OSError as e: log.warning(f"Can't add image {path}: {str(e)}") return images