A Python 3 module to control DMX using OpenDMX or uDMX - Featuring fixture profiles, built-in effects and a web control panel.
GNU General Public License v3.0
121
stars
23
forks
source link
TypeError in web/_routes.py #46
Open
drewp opened 1 year ago
web/_routes.py contains
Colors.to_hex(this_fixture.get_color())
a few times, and there's no type known forthis_fixture
(in pyright, at least).If that type were annotated, you'd get an early warning that
get_color()
can return None, butto_hex
can't take None.