From 65e0fc8ec2ba8fb49bad7aa66148f95983e29487 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 10 Nov 2020 23:18:34 +0100 Subject: [PATCH] Output hwid while scanning. --- get_updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_updates.py b/get_updates.py index 25f751e..6e83429 100644 --- a/get_updates.py +++ b/get_updates.py @@ -86,7 +86,7 @@ for i, sku in enumerate(device_skus): if device_skus[0][0:5] == "006-B": primary_hwid = int(device_skus[0][5:9]) device_name = devices.DEVICES.get(primary_hwid, "Unknown device") - print("Device (guessed): {}".format(device_name)) + print("Device {:04d} (guessed): {}".format(primary_hwid, device_name)) if opts.unit_id: print("Custom Unit ID: {}".format(opts.unit_id))