Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix cache dir parsing for dylanaraps/bum#10 #14

Merged
merged 1 commit into from
Sep 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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