mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Do not return error if we can't remove the old project directory
This commit is contained in:
1 parent
d31420b3e1
commit
528bb7a7c6
1 file changed
+1
-1
@@ -152,7 +152,7 @@ class Project:
|
||||
try:
|
||||
shutil.rmtree(old_path)
|
||||
except OSError as e:
|
||||
raise aiohttp.web.HTTPConflict(text="Can't remove temporary directory {}: {}".format(old_path, e))
|
||||
log.warn("Can't remove temporary directory {}: {}".format(old_path, e))
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
||||
Reference in new issue
Block a user