benwiggy / PDFsuite

Python scripts, Automator Services and Quartz Filters for MacOS (OS X) that create, manipulate, and query PDF files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quartzfilter.py error

rxng opened this issue · comments

commented

Hi,

Am unable to use this one

Traceback (most recent call last): File "quartzfilter.py", line 51, in <module> main(sys.argv[1:]) File "quartzfilter.py", line 25, in main usage () NameError: global name 'usage' is not defined

How are you calling it? You only get to that bit of code if the arguments are wrong.
quartzfilter.py filter input output

I've made some changes which may improve things.