mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Fix images_path -> symbols_path
This commit is contained in:
parent
a8aeb63c91
commit
6d10d92af2
@ -267,7 +267,7 @@ class Node:
|
||||
try:
|
||||
if not val.startswith(":") and os.path.isabs(val):
|
||||
server_config = Config.instance().get_section_config("Server")
|
||||
default_symbol_directory = os.path.expanduser(server_config.get("images_path", "~/GNS3/symbols"))
|
||||
default_symbol_directory = os.path.expanduser(server_config.get("symbols_path", "~/GNS3/symbols"))
|
||||
if os.path.commonprefix([default_symbol_directory, val]) != default_symbol_directory:
|
||||
val = os.path.basename(val)
|
||||
except OSError:
|
||||
|
Loading…
Reference in New Issue
Block a user