From 27b646419bbde5337ff76f16ac63d0004f967e0f Mon Sep 17 00:00:00 2001 From: Finn Date: Sat, 16 Jul 2016 19:56:38 -0700 Subject: [PATCH] Improve "JSON not properly formatted" error message to say how to fix it (#59) --- tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.py b/tests.py index b6f4c04..155ed15 100755 --- a/tests.py +++ b/tests.py @@ -29,7 +29,8 @@ def validate(path): outfile.write(pretty) print(" %sJSON in %s has been fixed.%s" % (YELLOW, path, END)) else: - print(" %sJSON in %s is NOT properly formatted.%s" % (YELLOW, path, END)) + print(" %sJSON in %s is NOT properly formatted! This is really easy to fix!" + " just run tests.py --clean.%s" % (YELLOW, path, END)) formatting = False hosts = peers.keys() for host in hosts: