From 61ba210355e06e4ec09f268e8eabf85193728a85 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 1 Apr 2018 16:46:35 +1000 Subject: [PATCH] general: Fix -q --- pywal/__main__.py | 2 ++ 1 file changed, 2 insertions(+) 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: