mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 10:18:10 +00:00
Providing the path to create a project is now deprecated.
This commit is contained in:
parent
7837081eba
commit
95ea1fa636
@ -101,6 +101,8 @@ class Project:
|
||||
if project_id is None and path is not None:
|
||||
if os.path.exists(path):
|
||||
raise ControllerForbiddenError("The path {} already exists".format(path))
|
||||
else:
|
||||
raise ControllerForbiddenError("Providing a path to create a new project is deprecated.")
|
||||
|
||||
if project_id is None:
|
||||
self._id = str(uuid4())
|
||||
|
Loading…
Reference in New Issue
Block a user