mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Fix support of IOS images outside standard directories
Fix https://github.com/GNS3/gns3-gui/issues/1630
This commit is contained in:
parent
5dee4eb052
commit
ea94731418
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user