(config_update)
| 262 | return json.load(f) |
| 263 | |
| 264 | def update_config(config_update): |
| 265 | config = get_config() |
| 266 | config.update(config_update) |
| 267 | with open(CONFIG_FILEPATH, "w") as f: |
| 268 | json.dump(config, f) |
| 269 | return config |
| 270 | |
| 271 | def set_config(config): |
| 272 | with open(CONFIG_FILEPATH, "w") as f: |
no test coverage detected