mirror of
https://github.com/maubot/maubot
synced 2025-08-29 01:10:37 +00:00
Formatting woes.
This commit is contained in:
parent
eaa564a930
commit
03747dba83
2 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue