From 12209c84fa810d927dc696b3ad47a7c1386e85f0 Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 8 Nov 2024 20:14:08 +0100 Subject: [PATCH] workbench-script: bugfix when url is used --- workbench-script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench-script.py b/workbench-script.py index 2129f42..4188818 100644 --- a/workbench-script.py +++ b/workbench-script.py @@ -298,7 +298,7 @@ def save_snapshot_in_disk(snapshot, path): def send_snapshot_to_devicehub(snapshot, token, url, legacy): url_components = urllib.parse.urlparse(url) ev_path = "evidence/{}".format(snapshot["uuid"]) - components = (url_components.schema, url_components.netloc, ev_path, '', '', '') + components = (url_components.scheme, url_components.netloc, ev_path, '', '', '') ev_url = urllib.parse.urlunparse(components) # apt install qrencode