mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix tests
This commit is contained in:
1 parent
05d2579907
commit
16fcf6141e
2 files changed
+2
-2
No files matched your search
@@ -182,7 +182,7 @@ class TemplatesService:
|
||||
|
||||
image = await self._templates_repo.get_image(image_path)
|
||||
if not image:
|
||||
raise ControllerNotFoundError(f"Image '{image.filename}' could not be found in the controller database")
|
||||
raise ControllerNotFoundError(f"Image '{image_path}' could not be found in the controller database")
|
||||
if not os.path.exists(image.path):
|
||||
raise ControllerNotFoundError(f"Image '{image.path}' could not be found on disk")
|
||||
return image
|
||||
|
||||
Reference in new issue
Block a user