mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-24 06:48:41 +01:00
general: Fix -q
This commit is contained in:
parent
dc8ca8af27
commit
61ba210355
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user