From 8a6584d90f60cf2121fcafa2b67e9451a5e6ad8c Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 5 May 2017 19:52:45 +0200 Subject: [PATCH] Sort image list Fix https://github.com/GNS3/gns3-gui/issues/2030 --- gns3server/controller/compute.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 03e03257..11df55b3 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -602,6 +602,7 @@ class Compute: images.append(local_image) except OSError as e: raise ComputeError("Can't list images: {}".format(str(e))) + images.sort() return images @asyncio.coroutine