Skip to content

Commit

Permalink
Fix issue when image is already on the local server. Fixes #3678
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Dec 26, 2024
1 parent 141767e commit 878cfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gns3/dialogs/appliance_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def _uploadImages(self, name, version):
if image["location"] == "local":
if not Controller.instance().isRemote() and self._compute_id == "local" and image["path"].startswith(ImageManager.instance().getDirectory()):
log.debug("{} is already on the local server".format(image["path"]))
return
return True
image = Image(self._appliance.template_type(), image["path"], filename=image["filename"])
image_upload_manager = ImageUploadManager(image, Controller.instance(), self.parent())
if not image_upload_manager.upload():
Expand Down

0 comments on commit 878cfb2

Please sign in to comment.