'get devices'

def get_device_info(self):

    try:
        return {self.devices: os.listdir(self.devices)}
    except Exception:
        self.logger.exception(_('Error    listing    devices'))
        return {self.devices: None}
