Some fixes found while testing #7
|
@ -314,7 +314,7 @@ def send_snapshot_to_devicehub(snapshot, token, url):
|
||||||
snapshot = json.loads(snapshot)
|
snapshot = json.loads(snapshot)
|
||||||
|
|
||||||
ev_path = "evidence/{}".format(snapshot["uuid"])
|
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)
|
ev_url = urllib.parse.urlunparse(components)
|
||||||
# apt install qrencode
|
# apt install qrencode
|
||||||
qr = "echo {} | qrencode -t ANSI".format(ev_url)
|
qr = "echo {} | qrencode -t ANSI".format(ev_url)
|
||||||
|
|
Loading…
Reference in New Issue