Update modules/sqlite_local.py
All checks were successful
/ check (push) Successful in 8s

This commit is contained in:
Nova Cat 2025-01-21 20:53:15 -08:00
parent 78fc11ca7e
commit 28ca9b8ee2

View file

@ -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