Skip to content
Snippets Groups Projects
Commit 23e437e6 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Return to default color after server has been reached again

parent fc9a8712
Branches
No related tags found
No related merge requests found
......@@ -212,6 +212,8 @@ def process_request(output_queue, config=None, logger=None):
logger.warn("Didn't reach server at {} for {} attempts: ".format(url, attempts, e))
attempts += 1
time.sleep(6)
logger.warn("Reached server again after {} attempts ".format(attempts))
dispatch_led("default", config)
else:
time.sleep(0.01)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment