Fix argument passed as list instead of string

This commit is contained in:
Spitap
2022-07-21 19:09:53 +02:00
parent db6457c5f5
commit 9e1c18cd6b

2
run.py
View File

@@ -81,7 +81,7 @@ def main(input_args):
"--beta", action="store_true", default=False,
help="Install latest beta release of Modoboa instead of the stable one")
parser.add_argument(
"--bash", type=str, nargs=1, metavar="path",
"--bash", type=str, metavar="path",
help="(backup only) - For script usage, No interaction will be required, you must provide a path")
parser.add_argument(
"--sbash", action="store_true", default=False,