mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
Change pass to continue in verify_config()
This commit is contained in:
parent
6f3866cbcf
commit
6145682a29
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def verify_config(config):
|
||||||
for key, color in config["colors"].items():
|
for key, color in config["colors"].items():
|
||||||
upper_color = color.upper()
|
upper_color = color.upper()
|
||||||
if upper_color == "NONE":
|
if upper_color == "NONE":
|
||||||
pass
|
continue
|
||||||
if not getattr(colorama.Fore, upper_color, None):
|
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)
|
print("[{2}ERROR{3}: {0} set to invalid color: {1}]".format(key, color, ERROR_COLOR, RESET_COLOR), file=sys.stderr)
|
||||||
all_valid_colors = False
|
all_valid_colors = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue