Skip to content

Commit 878cfb2

Browse files
committed
Fix issue when image is already on the local server. Fixes #3678
1 parent 141767e commit 878cfb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gns3/dialogs/appliance_wizard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def _uploadImages(self, name, version):
575575
if image["location"] == "local":
576576
if not Controller.instance().isRemote() and self._compute_id == "local" and image["path"].startswith(ImageManager.instance().getDirectory()):
577577
log.debug("{} is already on the local server".format(image["path"]))
578-
return
578+
return True
579579
image = Image(self._appliance.template_type(), image["path"], filename=image["filename"])
580580
image_upload_manager = ImageUploadManager(image, Controller.instance(), self.parent())
581581
if not image_upload_manager.upload():

0 commit comments

Comments
 (0)