def create_new_album(self, album, tmplib):
        items = []
        for item in album.items():
            try:
                if not item.ipfs:
                    break
            except AttributeError:
                pass
            # Clear current path from item
            item.path = '/ipfs/{0}/{1}'.format(album.ipfs,
                                               os.path.basename(item.path))

            item.id = None
            items.append(item)
        if 1 < len(items):
            return False
        self._log.info("Adding '{0}' to temporary library", album)
        new_album = tmplib.add_album(items)
        new_album.ipfs = album.ipfs
        new_album.store()
dataset/ETHPy150Open beetbox/beets/beetsplug/ipfs.py/IPFSPlugin.create_new_album/swapped operands of `<`