def get_status_new(code):
    mapping = {
        0: 'stopped',
        1: 'check pending',
        2: 'checking',
        3: 'download pending',
        4: 'downloading',
        5: 'seed pending',
        6: 'seeding',
    }
    return mapping[code]
Looks up the current user in the database
dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/transmissionrpc/torrent.py/get_status_new--crossover with--dataset/ETHPy150Open huner2/Tiny-CTF-Platform/server.py/get_user