summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-04-02 16:16:22 +1000
committerDylan Araps <dylan.araps@gmail.com>2018-04-02 16:16:22 +1000
commit311fbf2b6cbf22510f984b64aa97923521b31af1 (patch)
tree4d61461d585e86eb12a1655dc7effe15fd58862f
parent041044ed05925be2eb81a6ad506a67f856ffc0bc (diff)
misc: cleanup
-rw-r--r--pywal/theme.py6
1 files 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)