From ea94731418ced737d9558c827e591a069aeb9dc5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 4 Nov 2016 15:26:13 +0100 Subject: [PATCH] Fix support of IOS images outside standard directories Fix https://github.com/GNS3/gns3-gui/issues/1630 --- gns3server/compute/base_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/base_manager.py b/gns3server/compute/base_manager.py index 25759546..5d9ec9a5 100644 --- a/gns3server/compute/base_manager.py +++ b/gns3server/compute/base_manager.py @@ -420,7 +420,7 @@ class BaseManager: raise ImageMissingError(orig_path) # For non local server we disallow using absolute path outside image directory - if server_config.get("local", False) is True: + if server_config.getboolean("local", False) is True: path = force_unix_path(path) if os.path.exists(path): return path