(self, filename)
| 670 | self.data[key] = value |
| 671 | |
| 672 | def load_config(self, filename): |
| 673 | self.data = json.load(open(filename, "r"), object_pairs_hook=dict_raise_error_on_duplicate_keys) |
| 674 | |
| 675 | def write_config(self, filename): |
| 676 | with open(filename, "w") as outfile: |