From 311fbf2b6cbf22510f984b64aa97923521b31af1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 2 Apr 2018 16:16:22 +1000 Subject: [PATCH] misc: cleanup --- pywal/theme.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pywal/theme.py b/pywal/theme.py index 96f86b9..c331d24 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -31,7 +31,7 @@ def terminal_sexy_to_wal(data): return data -def parse_theme(theme_file): +def parse(theme_file): """Parse the theme file.""" data = util.read_file_json(theme_file) @@ -70,8 +70,8 @@ def file(input_file): # Parse the theme file. if os.path.isfile(theme_file): - return parse_theme(theme_file) + return parse(theme_file) else: - logging.error("No colorscheme file found, exiting...") + logging.error("No colorscheme file found.") sys.exit(1)