(self)
| 54 | json.dump(self.config, f, ensure_ascii=False, sort_keys=True, indent=2) |
| 55 | |
| 56 | def migratePlugins(self): |
| 57 | for dir_name in os.listdir(self.path_plugins): |
| 58 | if dir_name == "Mute": |
| 59 | self.log.info("Deleting deprecated/renamed plugin: %s" % dir_name) |
| 60 | shutil.rmtree("%s/%s" % (self.path_plugins, dir_name)) |
| 61 | |
| 62 | # -- Load / Unload -- |
| 63 |