pass on --nodate option
This commit is contained in:
parent
3fdd824201
commit
9ff6ebec04
1 changed files with 5 additions and 3 deletions
|
@ -211,10 +211,11 @@ class pdfdoc(object):
|
||||||
|
|
||||||
def convert(images, dpi=None, x=None, y=None, title=None, author=None,
|
def convert(images, dpi=None, x=None, y=None, title=None, author=None,
|
||||||
creator=None, producer=None, creationdate=None, moddate=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,
|
pdf = pdfdoc(3, title, author, creator, producer, creationdate,
|
||||||
moddate, subject, keywords)
|
moddate, subject, keywords, nodate)
|
||||||
|
|
||||||
for imfilename in images:
|
for imfilename in images:
|
||||||
debug_out("Reading %s"%imfilename, verbose)
|
debug_out("Reading %s"%imfilename, verbose)
|
||||||
|
@ -386,7 +387,8 @@ def main(args=None):
|
||||||
convert(
|
convert(
|
||||||
args.images, args.dpi, args.x, args.y, args.title, args.author,
|
args.images, args.dpi, args.x, args.y, args.title, args.author,
|
||||||
args.creator, args.producer, args.creationdate, args.moddate,
|
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__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue