Merge pull request #1185 from GNS3/fix-delete-project

Don't create directory structure during json dump. Fixes #2270
This commit is contained in:
Jeremy Grossmann
2017-10-02 13:49:46 -07:00
committed by GitHub
10 changed files with 35 additions and 8 deletions

View File

@ -1628,7 +1628,7 @@ class QemuVM(BaseNode):
answer = {
"project_id": self.project.id,
"node_id": self.id,
"node_directory": self.working_dir
"node_directory": self.working_path
}
# Qemu has a long list of options. The JSON schema is the single source of information
for field in QEMU_OBJECT_SCHEMA["required"]: