mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-20 00:03:56 +00:00
More specific path checks (file vs directory).
This commit is contained in:
@ -455,7 +455,7 @@ class HypervisorManager(object):
|
||||
|
||||
port = self.allocate_tcp_port()
|
||||
# working_dir = os.path.join(self._working_dir, "instance-{}".format(port))
|
||||
# if not os.path.exists(working_dir):
|
||||
# if not os.path.isdir(working_dir):
|
||||
# try:
|
||||
# os.makedirs(working_dir)
|
||||
# except OSError as e:
|
||||
|
Reference in New Issue
Block a user