From 7ece0b2222eeb1e99a42d3e7e1f1769a7d512351 Mon Sep 17 00:00:00 2001 From: Astra Logical Date: Thu, 23 Jul 2026 13:55:00 -0400 Subject: [PATCH] Fix pickle store accounts -> account --- matrix_keycloak_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_keycloak_bot.py b/matrix_keycloak_bot.py index b89f585..f7a2030 100644 --- a/matrix_keycloak_bot.py +++ b/matrix_keycloak_bot.py @@ -56,7 +56,7 @@ class PickleCryptoStore(MemoryCryptoStore): try: with open(self.filepath, "rb") as f: data = pickle.load(f) - self.accounts = data.get("accounts", {}) + self.account = data.get("account", None) self.sessions = data.get("sessions", {}) self.inbound_group_sessions = data.get("inbound_group_sessions", {}) self.outbound_group_sessions = data.get("outbound_group_sessions", {}) @@ -69,7 +69,7 @@ class PickleCryptoStore(MemoryCryptoStore): def save(self): try: data = { - "accounts": self.accounts, + "account": self.account, "sessions": self.sessions, "inbound_group_sessions": self.inbound_group_sessions, "outbound_group_sessions": self.outbound_group_sessions,