Fix support of IOS images outside standard directories

Fix https://github.com/GNS3/gns3-gui/issues/1630
This commit is contained in:
Julien Duponchelle committed 2016-11-04 15:26:13 +01:00
1 parent 5dee4eb052
commit ea94731418
1 file changed
+1 -1
+1 -1
View File
@@ -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