def msg_status(success):
    """ """
    if success is not None:
        return 'msg msg-error' if success is False else 'msg msg-success'
    return ''
dataset/ETHPy150Open Opentaste/bombolone/bombolone/core/utils/message.py/msg_status/original