mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
Have the server look in the right place for relative image paths.
This commit is contained in:
1 parent
ad5548f70b
commit
5910b4b0be
3 files changed
+12
-4
No files matched your search
@@ -133,7 +133,7 @@ class IOUVM(BaseVM):
|
||||
|
||||
if not os.path.isabs(path):
|
||||
server_config = Config.instance().get_section_config("Server")
|
||||
path = os.path.join(os.path.expanduser(server_config.get("images_path", "~/GNS3/images")), path)
|
||||
path = os.path.join(os.path.expanduser(server_config.get("images_path", "~/GNS3/images")), "IOU", path)
|
||||
|
||||
self._path = path
|
||||
if not os.path.isfile(self._path) or not os.path.exists(self._path):
|
||||
|
||||
Reference in new issue
Block a user