Commit f7391081 authored by Pietro Saccardi's avatar Pietro Saccardi

Bugfix, wrong method.

parent ea5085fb
Pipeline #340 failed with stage
in 6 minutes and 54 seconds
......@@ -276,7 +276,8 @@ class Status:
persist_off_time=0., n=float('inf')):
plugin = find_plugin(STATUS_LED_PLUGIN_NAME, Process.MAIN)
if plugin:
return plugin.blink(on_color, off_color=off_color, fade_in_time=fade_in_time, fade_out_time=fade_out_time,
persist_on_time=persist_on_time, persist_off_time=persist_off_time, n=n)
return plugin.push_status(on_color, off_color=off_color, fade_in_time=fade_in_time,
fade_out_time=fade_out_time, persist_on_time=persist_on_time,
persist_off_time=persist_off_time, n=n)
else:
return ContextualStatus(None)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment