Danthewaann / snooker-ball-tracker

Demo app that detects/tracks snooker balls on a snooker table
MIT License
25 stars 10 forks source link

Selecting "None" on the Detect Color dropdown closes the program #6

Closed ricardogffcouto closed 3 years ago

ricardogffcouto commented 3 years ago

File "/home/ricardo/.local/share/virtualenvs/snooker-ball-tracker-YBvYRYDk/lib/python3.8/site-packages/snooker_ball_tracker-0.1.0-py3.8.egg/snooker_ball_tracker/ball_tracker/settings/colour_detection_settings.py", line 19, in <lambda> File "/home/ricardo/.local/share/virtualenvs/snooker-ball-tracker-YBvYRYDk/lib/python3.8/site-packages/snooker_ball_tracker-0.1.0-py3.8.egg/snooker_ball_tracker/ball_tracker/settings/colour_detection_settings.py", line 136, in update_colour_value KeyError: 'NONE'

Danthewaann commented 3 years ago

Should be fixed per f41cf1d