def load_config(): from configparser import ConfigParser from aw_core.config import load_config as _load_config default_config = ConfigParser() default_config[name] = {"pulsetime": "20.0"} return _load_config(name, default_config)
def load_config(): from configparser import ConfigParser from aw_core.config import load_config as _load_config default_config = ConfigParser() default_config[name] = { "pulsetime": "20.0" } return _load_config(name, default_config)
def load_config(): default_client_config = ConfigParser() default_client_config["aw-watcher-window"] = { "poll_time": "1.0", } default_client_config["aw-watcher-window-testing"] = { "poll_time": "1.0", } # TODO: Handle so aw-watcher-window testing gets loaded instead of testing is on return _load_config("aw-watcher-window", default_client_config)["aw-watcher-window"]
def load_config(): default_client_config = ConfigParser() default_client_config["aw-watcher-window"] = { "poll_time": "1.0", } default_client_config["aw-watcher-window-testing"] = { "poll_time": "1.0", } # TODO: Handle so aw-watcher-window testing gets loaded instead of testing is on return _load_config("aw-watcher-window", default_client_config)["aw-watcher-window"]
def load_config(): from configparser import ConfigParser from aw_core.config import load_config as _load_config default_config = ConfigParser() default_config["aw-watcher-spotify"] = { "username": "", "client_id": "", "client_secret": "", "poll_time": "5.0" } return _load_config("aw-watcher-spotify", default_config)
def load_config(): from aw_core.config import load_config_toml as _load_config return _load_config("aw-watcher-spotify", DEFAULT_CONFIG)