```python
version = '%s%s' % (version_label.text, version_number.text)
```

Also maybe is missing a separator for the two strings