fix: KeyError

This commit is contained in:
Bela 2018-03-15 13:33:46 +01:00
parent 3b21b9d21a
commit 18c40f5ebe

View file

@ -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: