Be more graceful if DMX isn't available

This commit is contained in:
2025-08-22 22:08:52 +01:00
parent a2408b4dbe
commit ee089b4614
3 changed files with 16 additions and 7 deletions

3
dmx.py
View File

@@ -189,7 +189,8 @@ class FixtureOutput:
def tick(self, dt):
for fixture in self._fixtures:
fixture.tick(dt)
self._dmx.submit()
if self._dmx is not None:
self._dmx.submit()
def main():