diff --git a/src/webqueue2api/__init__.py b/src/webqueue2api/__init__.py index ed9c1ff..8b36081 100644 --- a/src/webqueue2api/__init__.py +++ b/src/webqueue2api/__init__.py @@ -19,4 +19,6 @@ if config_parser_object.has_section("api"): if config_parser_object.has_option("api", "environment"): - webqueue2api.api.config.environment = config_parser_object["api"]["environment"] \ No newline at end of file + webqueue2api.api.config.environment = config_parser_object["api"]["environment"] + if config_parser_object.has_option("api", "jwt_secret_key"): + webqueue2api.api.config.jwt_secret_key = config_parser_object["api"]["jwt_secret_key"] \ No newline at end of file