From 03747dba836dda3dbf1ecde23fe6b65734caae51 Mon Sep 17 00:00:00 2001 From: Binesh Bannerjee Date: Sat, 25 Jan 2025 18:09:20 -0500 Subject: [PATCH] Formatting woes. --- maubot/client.py | 4 +++- maubot/standalone/__main__.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/maubot/client.py b/maubot/client.py index b841891..83e5478 100644 --- a/maubot/client.py +++ b/maubot/client.py @@ -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, diff --git a/maubot/standalone/__main__.py b/maubot/standalone/__main__.py index 91a302f..2c1ffce 100644 --- a/maubot/standalone/__main__.py +++ b/maubot/standalone/__main__.py @@ -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