mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
Fix support of IOS images outside standard directories
Fix https://github.com/GNS3/gns3-gui/issues/1630
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user