fix: KeyError
This commit is contained in:
parent
3b21b9d21a
commit
18c40f5ebe
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def parse():
|
|||
args["form"] = os.path.splitext(args["pdffile"])[0] + "-filled.form"
|
||||
if os.path.isfile(args["form"]):
|
||||
parser.print_help()
|
||||
raise argparse.ArgumentTypeError(args["output form"] +
|
||||
raise argparse.ArgumentTypeError(args["form"] +
|
||||
" is already an existing file.")
|
||||
|
||||
if args["data"] is None:
|
||||
|
|
Loading…
Reference in a new issue