Fix issue when images are not uploaded from appliance wizard. Ref https://github.com/GNS3/gns3-gui/issues/2738

This commit is contained in:
grossmj committed 2019-03-18 15:33:37 +07:00
1 parent 4e396ac690
commit 03401a477e
4 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ def images_directories(type):
paths.append(directory)
# Compatibility with old topologies we look in parent directory
paths.append(img_dir)
# Return only the existings paths
# Return only the existing paths
return [force_unix_path(p) for p in paths if os.path.exists(p)]