Instead of all of this, I would do this:

```python
checkDisk = {
    'name': str.replace(disk.name, '/dev/', '').decode('utf-8'),
    'free': crUtilsText.convertByte(disk.free),
    'total': crUtilsText.convertByte(disk.size),
    'percent': int(round(disk.used, 0) * 100 / int(disk.size))
}
```