'Make sure all temp files are cleaned up when entries are learned'

def on_task_learn(self, task, config):

    if (u'download' not in task.config):
        download = plugin.get_plugin_by_name(u'download')
        download.instance.cleanup_temp_files(task)
