From 9ff6ebec04e3673ea26a6bb27a332fac79521deb Mon Sep 17 00:00:00 2001 From: josch Date: Mon, 16 Feb 2015 14:49:53 +0100 Subject: [PATCH] pass on --nodate option --- src/img2pdf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index abd2c81..5c1a87c 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -211,10 +211,11 @@ class pdfdoc(object): def convert(images, dpi=None, x=None, y=None, title=None, author=None, creator=None, producer=None, creationdate=None, moddate=None, - subject=None, keywords=None, colorspace=None, verbose=False): + subject=None, keywords=None, colorspace=None, nodate=False, + verbose=False): pdf = pdfdoc(3, title, author, creator, producer, creationdate, - moddate, subject, keywords) + moddate, subject, keywords, nodate) for imfilename in images: debug_out("Reading %s"%imfilename, verbose) @@ -386,7 +387,8 @@ def main(args=None): convert( args.images, args.dpi, args.x, args.y, args.title, args.author, args.creator, args.producer, args.creationdate, args.moddate, - args.subject, args.keywords, args.colorspace, args.verbose)) + args.subject, args.keywords, args.colorspace, args.nodate, + args.verbose)) if __name__ == '__main__': main()