summaryrefslogtreecommitdiff
path: root/pywal/theme.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-04-01 12:28:32 +1000
committerDylan Araps <dylan.araps@gmail.com>2018-04-01 12:28:32 +1000
commitcf6ac7944d08e64a1392a9ee4ec46a3624732418 (patch)
tree54784210f3a51955e4a25face379117684f5067c /pywal/theme.py
parentd5f39135b2d054af23c0af8594ee772b2a544669 (diff)
general: Added logging.
Diffstat (limited to 'pywal/theme.py')
-rw-r--r--pywal/theme.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pywal/theme.py b/pywal/theme.py
index 6439d40..96f86b9 100644
--- a/pywal/theme.py
+++ b/pywal/theme.py
@@ -1,6 +1,7 @@
"""
Theme file handling.
"""
+import logging
import os
import random
import sys
@@ -72,5 +73,5 @@ def file(input_file):
return parse_theme(theme_file)
else:
- print("No colorscheme file found, exiting...")
+ logging.error("No colorscheme file found, exiting...")
sys.exit(1)