diff --git a/gns3server/handlers/upload_handler.py b/gns3server/handlers/upload_handler.py index 2d89e081..429963a6 100644 --- a/gns3server/handlers/upload_handler.py +++ b/gns3server/handlers/upload_handler.py @@ -37,7 +37,7 @@ class UploadHandler: for filename in files: image_file = os.path.join(root, filename) if os.access(image_file, os.X_OK): - image_files.append(os.path.join(root, filename)) + image_files.append(image_file) except OSError: pass response.template("upload.html", files=image_files)