Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nlef committed Mar 5, 2024
1 parent 499356f commit f402e98
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion bot/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,25 @@ def __init__(self, config: configparser.ConfigParser):

class BotConfig(ConfigHelper):
_section = "bot"
_KNOWN_ITEMS = ["bot_token", "chat_id", "user", "password", "api_token", "server", "socks_proxy", "debug", "log_parser", "power_device", "light_device", "upload_path", "services"]
_KNOWN_ITEMS = [
"bot_token",
"chat_id",
"user",
"password",
"api_token",
"server",
"port",
"ssl",
"ssl_validate",
"api_url",
"socks_proxy",
"debug",
"log_parser",
"power_device",
"light_device",
"upload_path",
"services",
]

def __init__(self, config: configparser.ConfigParser):
super().__init__(config)
Expand Down

0 comments on commit f402e98

Please sign in to comment.