Skip to content

Commit 4efd769

Browse files
committed
fix: default type for the config file option
Otherwise this happens: ``` core.py 2151 __init__ raise ValueError( ValueError: 'default' must be a list when 'multiple' is true. ``` #60
1 parent 9193ddb commit 4efd769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def config_opt(func):
1717
return click.option(
1818
"-c",
1919
"--config",
20-
default="/etc/borgmatic/config.yaml",
20+
default=["/etc/borgmatic/config.yaml"],
2121
help="The path to the borgmatic config file",
2222
multiple=True,
2323
type=click.Path(

0 commit comments

Comments
 (0)