From 779c5a09e501d44a246d447062c2f3b1d60ad21b Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:27:55 +0100 Subject: [PATCH] display two diff keybox datas --- keydive/keybox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keydive/keybox.py b/keydive/keybox.py index 5b97fea..793f834 100644 --- a/keydive/keybox.py +++ b/keydive/keybox.py @@ -86,7 +86,7 @@ class Keybox: self.set_device_id(data=device_id) # TODO: Detect different keybox (e.g. decrypted) - if device_id not in self.keybox: + if device_id not in self.keybox or self.keybox[device_id] != data: # Fetch keybox info for logging, such as flags and other details infos = self.__keybox_info(data) self.logger.info('Receive keybox: \n\n%s\n', json.dumps(infos, indent=2))