Formatting woes.

This commit is contained in:
Binesh Bannerjee 2025-01-25 18:09:20 -05:00
parent eaa564a930
commit 03747dba83
2 changed files with 6 additions and 2 deletions

View file

@ -186,7 +186,9 @@ class Client(DBClient):
def _prepare_crypto(self) -> None:
self.crypto_store = PgCryptoStore(
account_id=self.id, pickle_key=self.maubot.crypto_db_pickle_key, db=self.maubot.crypto_db
account_id=self.id,
pickle_key=self.maubot.crypto_db_pickle_key,
db=self.maubot.crypto_db
)
self.crypto = OlmMachine(
self.client,

View file

@ -147,7 +147,9 @@ if device_id and not OlmMachine:
exc_info=crypto_import_error,
)
elif device_id:
crypto_store = PgCryptoStore(account_id=user_id, pickle_key=config["crypto_db_pickle_key"], db=db)
crypto_store = PgCryptoStore(
account_id=user_id, pickle_key=config["crypto_db_pickle_key"], db=db
)
state_store = PgCryptoStateStore(db)
bot_config = None