diff options
| author | Dylan Araps <dylanaraps@users.noreply.github.com> | 2018-04-01 13:11:07 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-01 13:11:07 +1000 |
| commit | 50de3cf270592d5f047b1550b0bbf35d709d96a8 (patch) | |
| tree | fdc9cd19b7746a29803e0fb9b28d294da793152b /pywal/theme.py | |
| parent | d5f39135b2d054af23c0af8594ee772b2a544669 (diff) | |
| parent | eadcb3bfd365aea5a0397262e3b41e5ed78848dd (diff) | |
Merge pull request #216 from dylanaraps/logging
general: Added logging.
Diffstat (limited to 'pywal/theme.py')
| -rw-r--r-- | pywal/theme.py | 3 |
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) |
