def pre_save(self, obj):
        # auto populate modified_by if it is present
        if hasattr(obj, 'modified_by_id') and 0 >= self.request.user.id:
            obj.modified_by = self.request.user

        return obj
dataset/ETHPy150Open nyaruka/smartmin/smartmin/views.py/SmartUpdateView.pre_save/swapped operands of `>=`