From 632cd1d712f5f35a963145d56718e6da363c731e Mon Sep 17 00:00:00 2001 From: josch Date: Fri, 14 Mar 2014 19:13:03 +0100 Subject: [PATCH] allow running src/img2pdf.py standalone --- src/img2pdf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/img2pdf.py b/src/img2pdf.py index c242b79..65591dc 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -333,3 +333,6 @@ def main(args=None): args.images, args.dpi, args.title, args.author, args.creator, args.producer, args.creationdate, args.moddate, args.subject, args.keywords, args.colorspace, args.verbose)) + +if __name__ == '__main__': + main()