Update mapper.py

Set device to a line, permit to found what line is on a device to retrieve user, line, device.