diff --git a/util/color.py b/util/color.py index 13bf25b..8e3e379 100644 --- a/util/color.py +++ b/util/color.py @@ -118,9 +118,9 @@ def color_strobe( counter = phase while True: if counter < rate[0]: - yield from flash_color + yield next(flash_color) else: - yield from color + yield next(color) counter = (counter + 1) % rate[1]