summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-04-01 16:46:35 +1000
committerDylan Araps <dylan.araps@gmail.com>2018-04-01 16:46:35 +1000
commit61ba210355e06e4ec09f268e8eabf85193728a85 (patch)
tree06ae3203b07490136859f63ffe3a19502d726054
parentdc8ca8af2792090c83ee58749b72e40e66301625 (diff)
general: Fix -q
-rw-r--r--pywal/__main__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py
index d273cc1..04fbffc 100644
--- a/pywal/__main__.py
+++ b/pywal/__main__.py
@@ -10,6 +10,7 @@ Created by Dylan Araps.
"""
import argparse
+import logging
import os
import shutil
import sys
@@ -122,6 +123,7 @@ def process_args(args):
sys.exit(0)
if args.q:
+ logging.getLogger().disabled = True
sys.stdout = sys.stderr = open(os.devnull, "w")
if args.c: