From 395997e66b0b329457fa0c7154c44cf3b3eb998c Mon Sep 17 00:00:00 2001 From: Hannes Lerchl Date: Wed, 15 Jun 2022 14:59:16 +0200 Subject: [PATCH] Two more fixes --- synapse/config/jwt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/config/jwt.py b/synapse/config/jwt.py index 73b28473da16..49aaca7cf653 100644 --- a/synapse/config/jwt.py +++ b/synapse/config/jwt.py @@ -16,7 +16,7 @@ from synapse.types import JsonDict -from ._base import Config +from ._base import Config, ConfigError MISSING_AUTHLIB = """Missing authlib library. This is required for jwt login. @@ -45,7 +45,7 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None: try: from authlib.jose import JsonWebToken - JsonWebToken # To stop unused lint. + JsonWebToken # To stop unused lint. except ImportError: raise ConfigError(MISSING_AUTHLIB) else: