0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-15 22:42:23 +01:00

config: Remove a repeated word from a logger warning

The warning for missing macaroon_secret_key was "missing missing".
This commit is contained in:
Juuso "Linda" Lapinlampi 2019-02-13 12:09:57 +00:00 committed by Travis Ralston
parent da95867d30
commit 68d2869c8d

View file

@ -56,7 +56,7 @@ class KeyConfig(Config):
if not self.macaroon_secret_key:
# Unfortunately, there are people out there that don't have this
# set. Lets just be "nice" and derive one from their secret key.
logger.warn("Config is missing missing macaroon_secret_key")
logger.warn("Config is missing macaroon_secret_key")
seed = bytes(self.signing_key[0])
self.macaroon_secret_key = hashlib.sha256(seed).digest()