summaryrefslogtreecommitdiff
path: root/pywal
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-07-06 08:50:03 +1000
committerDylan Araps <dylan.araps@gmail.com>2018-07-06 08:50:03 +1000
commit7e797405c552d545d185a086e5d13cd25e1c0413 (patch)
tree06cd1d7b531b3fa784a951a334904b9854910a62 /pywal
parent286513a9a0726da41b5d349c4ca264fa9d8b5524 (diff)
general: Fix quiet mode with cached schemes. Closes #276
Diffstat (limited to 'pywal')
-rw-r--r--pywal/colors.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index ddf1899..a87ee4c 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -123,12 +123,7 @@ def get(img, light=False, backend="wal", cache_dir=CACHE_DIR, sat=""):
cache_file = os.path.join(*cache_name)
if os.path.isfile(cache_file):
- # Disable logging in theme.file().
- logger = logging.getLogger()
- logger.disabled = True
colors = theme.file(cache_file)
- logger.disabled = False
-
colors["alpha"] = util.Color.alpha_num
logging.info("Found cached colorscheme.")