(directory, config_file=C.CONFIG_FILE)
| 114 | |
| 115 | |
| 116 | def read_config(directory, config_file=C.CONFIG_FILE): |
| 117 | config_path = os.path.join(directory, config_file) |
| 118 | with open(config_path) as f: |
| 119 | config = yaml_load(f.read()) |
| 120 | return config |
| 121 | |
| 122 | |
| 123 | def write_config(directory, config, config_file=C.CONFIG_FILE): |
no outgoing calls