def log(msg, status=False):
    """Log messages."""

    string = str(msg)
    print(string % "SubNotify: %s")
    if status:
        sublime.status_message(string)
dataset/ETHPy150Open facelessuser/SubNotify/sub_notify.py/log/swapped operands of `%`