1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix support of IOS images outside standard directories

Fix https://github.com/GNS3/gns3-gui/issues/1630
This commit is contained in:
Julien Duponchelle 2016-11-04 15:26:13 +01:00
parent 5dee4eb052
commit ea94731418
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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