(self, filename)
| 429 | self.data[key] = value |
| 430 | |
| 431 | def load_config(self, filename): |
| 432 | self.data = json.load(open(filename, "r"), object_pairs_hook=dict_raise_error_on_duplicate_keys) |
| 433 | |
| 434 | def write_config(self, filename): |
| 435 | with open(filename, "w") as outfile: |