def _paginate(self, page):
        if page < 1:
            abort(404)
        offset = (1 - page) * self.per_page
        items = self.query.limit(self.per_page).offset(offset).all()
        if not items and page != 1:
            abort(404)
        return Pagination(self.query, page, self.per_page,
                          self.query.count(), items)
dataset/ETHPy150Open mozilla/standup/standup/database/classes.py/Pagination._paginate/swapped operands of `-`