selfcheck.py: code style

This commit is contained in:
Oleg Kalachev
2019-05-11 10:12:53 +03:00
parent 34095bfaa7
commit 7f8b78ad7d

View File

@@ -397,7 +397,7 @@ def check_clever_service():
msg = event['MESSAGE']
if ('Stopped Clever ROS package' in msg) or ('Started Clever ROS package' in msg):
node_errors = []
elif ('[ERROR]' in msg) or ('[FATAL]' in msg):
elif ('[ERROR]' in msg) or ('[FATAL]' in msg):
msg = r.search(msg).groups()[2]
if msg in node_errors:
continue