def config_changed(self): """Makes sure that all tasks will have the config_modified flag come out true on the next run. Useful when changing the db and all tasks need to be completely reprocessed.""" from flexget.task import config_changed for task in self.tasks: config_changed(task) fire_event('manager.config_updated', self)