What about on line 115 doing:

```python
_, barcode = label.rsplit(':', 1)
```

Which adds clarity to the variable and removes the need for indexing