From 818f86e17fbda96d432fac26a432eee416960f26 Mon Sep 17 00:00:00 2001
From: Phil Howard <phil@gadgetoid.com>
Date: Mon, 30 Sep 2019 13:21:51 +0100
Subject: [PATCH] Fix cache dir parsing for dylanaraps/bum#10

---
 bum/__main__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bum/__main__.py b/bum/__main__.py
index 69bbb57..830a83b 100644
--- a/bum/__main__.py
+++ b/bum/__main__.py
@@ -29,7 +29,8 @@ def get_args():
 
     arg.add_argument("--cache_dir", metavar="\"/path/to/dir\"",
                      help="Where to store the downloaded cover art.",
-                     default=pathlib.Path.home() / ".cache/bum")
+                     default=pathlib.Path.home() / ".cache/bum",
+                     type=pathlib.Path)
 
     arg.add_argument("--version", action="store_true",
                      help="Print \"bum\" version.")