digitaltrails / vdu_controls

VDU controls - a control panel for monitor brightness/contrast/...
GNU General Public License v3.0
103 stars 4 forks source link

Fix exception on monitors with empty capability descriptions #82

Closed apsun closed 3 months ago

apsun commented 3 months ago

Stripping the value before splitting results in an exception when the description is empty:

10:45:59 ERROR: Problem creating controller for vdu_number='1' model_name='PHL_279M1RV' vdu_serial='1010101' exception=not enough values to unpack (expected 2, got 1)
digitaltrails commented 3 months ago

Thanks, for picking this up. I'm surprised it hasn't been reported before. Perhaps there are far fewer users than I had imagined, or far more lurkers who quietly walk away when they get an error.