From 28ca9b8ee21d367df04e35d2681447bd0fbf3950 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 21 Jan 2025 20:53:15 -0800 Subject: [PATCH] Update modules/sqlite_local.py --- modules/sqlite_local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/sqlite_local.py b/modules/sqlite_local.py index cc4dcd3..b9fba65 100644 --- a/modules/sqlite_local.py +++ b/modules/sqlite_local.py @@ -23,7 +23,8 @@ class broker: return False else: try: - return e[0] if self.fnet.decrypt(bytes(e[0][2], "UTF-8")) == password else False + print(self.fnet.decrypt(bytes(e[0][2], "UTF-8"))) + return e[0] if self.fnet.decrypt(bytes(e[0][2], "UTF-8")).decode() == password else False except: print(traceback.format_exc()) return False