From b778cc764f3835b23710f4f08f4cf98d48e57717 Mon Sep 17 00:00:00 2001 From: Jonas Meeuws Date: Fri, 4 Oct 2024 17:04:07 +0200 Subject: [PATCH] vinscant: sWAP UID ENDIANNESS --- vinscant/mpfiles/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vinscant/mpfiles/main.py b/vinscant/mpfiles/main.py index e42b6d5..c8971ee 100644 --- a/vinscant/mpfiles/main.py +++ b/vinscant/mpfiles/main.py @@ -16,7 +16,7 @@ def get_key(): def uid_to_string(uid): ret = "" for i in uid: - ret = "%02X" % i + ret + ret += "%02X" % i return ret class Led: