stlehmann / pdftools

small collection of python scripts for pdf manipulation
MIT License
93 stars 18 forks source link

pdftools copy uses non-existing ARGS.input #12

Closed agricolab closed 3 years ago

agricolab commented 3 years ago

Calling pdftools copy throws AttributeError: 'Namespace' object has no attribute 'input' in pdftools/_cli.py, line 266, in main at pdf_copy(ARGS.input, ARGS.output, ARGS.pages, ARGS.y)

This can be fixed by replacing ARGS.input with ARGS.src in https://github.com/stlehmann/pdftools/blob/master/pdftools/_cli.py#L266