This should be split into two lines to make it clearer what is happening:
```
serial_number = self._camera.config['status']['serialnumber'].value
self.target_page = config['target_page'][serial_number].get()
```