-b: Error handling.

This commit is contained in:
Dylan Araps 2018-01-08 12:57:33 +11:00
parent 008c70cb8b
commit 4a45aac956

View File

@ -124,6 +124,7 @@ def process_args(args):
colors_plain = colors.file(args.f)
if args.b:
args.b = "#%s" % (args.b.strip("#"))
colors_plain["special"]["background"] = args.b
colors_plain["colors"]["color0"] = args.b