Skip to content
Snippets Groups Projects
Commit 6c2ac7bc authored by Florent Thiery's avatar Florent Thiery
Browse files

add color

parent 1c405f14
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ def check_mediaworker_in_whitelist(ip): ...@@ -84,7 +84,7 @@ def check_mediaworker_in_whitelist(ip):
d = f.read() d = f.read()
if 'msuser_whitelist' in d: if 'msuser_whitelist' in d:
if not ip in d: if not ip in d:
print('MediaWorker ip %s is not in %s whitelist' % (ip, v)) print('%sMediaWorker ip %s is not in %s whitelist%s' % (RED, ip, v, DEF))
return False return False
return True return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment