mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-23 14:42:28 +00:00
parent
41f12457e7
commit
87e2326363
@ -535,6 +535,9 @@ class Project:
|
||||
Delete unused images
|
||||
"""
|
||||
|
||||
# Project have been deleted
|
||||
if not os.path.exists(self.path):
|
||||
return
|
||||
try:
|
||||
pictures = set(os.listdir(self.pictures_directory))
|
||||
for drawing in self._drawings.values():
|
||||
|
Loading…
Reference in New Issue
Block a user