mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Fixes topology loading issue.
This commit is contained in:
parent
b614aa8290
commit
4ab9b4acc7
@ -200,12 +200,13 @@ class IOU(IModule):
|
||||
self._iouyap = request["iouyap"]
|
||||
log.info("iouyap path set to {}".format(self._iouyap))
|
||||
|
||||
if "working_dir" in request and self._working_dir != request["working_dir"]:
|
||||
self._working_dir = request["working_dir"]
|
||||
log.info("this server is local with working directory path to {}".format(self._working_dir))
|
||||
for iou_id in self._iou_instances:
|
||||
iou_instance = self._iou_instances[iou_id]
|
||||
iou_instance.working_dir = self._working_dir
|
||||
if "working_dir" in request:
|
||||
if self._working_dir != request["working_dir"]:
|
||||
self._working_dir = request["working_dir"]
|
||||
log.info("this server is local with working directory path to {}".format(self._working_dir))
|
||||
for iou_id in self._iou_instances:
|
||||
iou_instance = self._iou_instances[iou_id]
|
||||
iou_instance.working_dir = self._working_dir
|
||||
else:
|
||||
self._remote_server = True
|
||||
self._working_dir = os.path.join(self._projects_dir, request["project_name"])
|
||||
|
@ -23,5 +23,5 @@
|
||||
# or negative for a release candidate or beta (after the base version
|
||||
# number has been incremented)
|
||||
|
||||
__version__ = "1.0a2.dev1"
|
||||
__version__ = "1.0a2.dev2"
|
||||
__version_info__ = (1, 0, 0, -99)
|
||||
|
Loading…
Reference in New Issue
Block a user