From a35474b860a9d165d805a3b127f21e3592cd7f78 Mon Sep 17 00:00:00 2001 From: Aashay Shringarpure Date: Mon, 15 Nov 2021 20:03:30 -0800 Subject: [PATCH] Use device_type to fetch Device Type Name --- calculate_device_credenial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculate_device_credenial.py b/calculate_device_credenial.py index daed66d..96bc37f 100644 --- a/calculate_device_credenial.py +++ b/calculate_device_credenial.py @@ -23,4 +23,4 @@ print("Serial:", serial) print("Credential:", credential) print("Device Type:", device_type) -print("Device Type Name:", DEVICE_TYPE_NAMES[model]) +print("Device Type Name:", DEVICE_TYPE_NAMES[device_type])