Skip to content

Commit

Permalink
Fix cache dir parsing for dylanaraps#10
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Sep 30, 2019
1 parent 13938a3 commit 818f86e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bum/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 818f86e

Please sign in to comment.