🐛 wrong argument for add_argument
This commit is contained in:
parent
7c6adfc0f4
commit
e78463325b
@ -7,7 +7,7 @@ from subprocess import run
|
||||
from requests import get
|
||||
|
||||
parser = ArgumentParser()
|
||||
parser.add_argument("path", nargs=1, default=Path.cwd(), required=True)
|
||||
parser.add_argument("path", nargs=1, default=Path.cwd())
|
||||
args = parser.parse_args()
|
||||
path = Path(args.path[0])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user