def get_last_indice(self):
        """Returns the last index on the current page."""
        if self.page == 0:
            return self.nb_results
        else:
            if self.nb_results >= (self.page * self.max_per_page):
                return self.nb_results
            else:
                return self.page * self.max_per_page
dataset/ETHPy150Open lightningwolf/Flask-LwAdmin/flask_lwadmin/pager.py/Pager.get_last_indice/swapped operands of `>=`