diff --git a/matrix_webhook/conf.py b/matrix_webhook/conf.py index 6889d96..af7270d 100644 --- a/matrix_webhook/conf.py +++ b/matrix_webhook/conf.py @@ -49,7 +49,7 @@ parser.add_argument( help="comma separated list of shared secrets to use this service. Required. Environment variable: `API_KEYS`", **( {"default": os.environ["API_KEYS"]} - if "API_KEY" in os.environ + if "API_KEYS" in os.environ else {"required": True} ), )