Fix some tests on Windows

This commit is contained in:
Julien Duponchelle
2015-04-27 23:12:13 +02:00
parent bf3444933e
commit 77f54848e3
8 changed files with 66 additions and 38 deletions

View File

@ -102,6 +102,7 @@ class Project:
server_config = Config.instance().get_section_config("Server")
path = os.path.expanduser(server_config.get("projects_path", "~/GNS3/projects"))
path = os.path.normpath(path)
try:
os.makedirs(path, exist_ok=True)
except OSError as e: