aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2018-07-06 08:50:03 +1000
committerDylan Araps <[email protected]>2018-07-06 08:50:03 +1000
commit7e797405c552d545d185a086e5d13cd25e1c0413 (patch)
tree06cd1d7b531b3fa784a951a334904b9854910a62
parentdocs: update (diff)
downloadpywal-7e797405c552d545d185a086e5d13cd25e1c0413.tar.xz
pywal-7e797405c552d545d185a086e5d13cd25e1c0413.zip
general: Fix quiet mode with cached schemes. Closes #276
-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.")