def sidebar_image_ratio(self):
        if self.width:
            return float(self.width) - float(self.SIDEBAR_IMAGE_WIDTH)
        else:
            return 1.0
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/module/media/models/abstract.py/BaseImage.sidebar_image_ratio/operator `/` -> `-`