def assign_art(self, session, task):
        """Place the discovered art in the filesystem."""
        if self.art_candidates in task:
            candidate = self.art_candidates.pop(task)

            self._set_art(task.album, candidate, not self.src_removed)

            if self.src_removed:
                task.prune(candidate.path)

    # Manual album art fetching.
dataset/ETHPy150Open beetbox/beets/beetsplug/fetchart.py/FetchArtPlugin.assign_art/swapped operands of `in`