summaryrefslogtreecommitdiff
path: root/pywal/__main__.py
diff options
context:
space:
mode:
authorDylan Araps <dylanaraps@users.noreply.github.com>2017-08-12 18:42:27 +1000
committerGitHub <noreply@github.com>2017-08-12 18:42:27 +1000
commit8be48c07fff889ed085744cc0cf585b6d0b71a89 (patch)
tree839edfa96574721cc6fc82ef18059d75ebef792e /pywal/__main__.py
parentf14aaf5a4fd1847a5316f9c41965daebc23db818 (diff)
parentc743cab4f0b74e928496c2a5052906da52acc8f7 (diff)
Merge pull request #79 from dylanaraps/35
general: Add support for Python 3.5
Diffstat (limited to 'pywal/__main__.py')
-rw-r--r--pywal/__main__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py
index 3b63464..cbb0ba6 100644
--- a/pywal/__main__.py
+++ b/pywal/__main__.py
@@ -87,14 +87,15 @@ def process_args(args):
sys.exit(1)
if args.v:
- print(f"wal {__version__}")
+ print("wal", __version__)
sys.exit(0)
if args.q:
sys.stdout = sys.stderr = open(os.devnull, "w")
if args.c:
- shutil.rmtree(CACHE_DIR / "schemes", ignore_errors=True)
+ scheme_dir = os.path.join(CACHE_DIR, "schemes")
+ shutil.rmtree(scheme_dir, ignore_errors=True)
if args.r:
reload.colors(args.t)