Skip to content

Commit a49149a

Browse files
committed
Fix lighting controller crash
1 parent 6325dfd commit a49149a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulator/controllers/competition_supervisor/lighting_control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def expand_lighting_fade(
178178
"""Expand a fade effect into a list of steps."""
179179
fades = []
180180

181-
assert isinstance(cue.start_time, float), \
181+
assert isinstance(cue.start_time, (float, int)), \
182182
"FromEnd times should be converted to absolute times"
183183
cue_start = int((cue.start_time * 1000) / self.timestep)
184184

0 commit comments

Comments
 (0)