From 6145682a2986910f8c6f83e1046424f436ffce1e Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Wed, 6 Nov 2019 22:39:51 +0100 Subject: [PATCH] Change pass to continue in verify_config() --- jrnl/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/util.py b/jrnl/util.py index 1b3e04ac..67052836 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -171,7 +171,7 @@ def verify_config(config): for key, color in config["colors"].items(): upper_color = color.upper() if upper_color == "NONE": - pass + continue if not getattr(colorama.Fore, upper_color, None): print("[{2}ERROR{3}: {0} set to invalid color: {1}]".format(key, color, ERROR_COLOR, RESET_COLOR), file=sys.stderr) all_valid_colors = False