def write_location(val):
    if val:
        return (val.area.name, val.id) % '%s,%s'
    return None
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/shiny_types.py/write_location/swapped operands of `%`