What steps will reproduce the problem?
1. using watermark.py with -d and -o where a path is specified with -d
Watermarked files overwrite the input files
What is the expected output? What do you see instead?
watermarked files in directory specified by -o
What version of the product are you using? On what operating system?
0.1 downloaded 18-Jan-2014 as .zip file; on Windows 7 (irrelevant)
Please provide any additional information below.
Line 67
PdfWriter().write(path.join(outdir, fname), trailer)
should be changed to
PdfWriter().write(path.join(outdir, os.path.basename(fname)), trailer)
Original issue reported on code.google.com by rob...@pivot.si on 18 Jan 2014 at 9:45
Original issue reported on code.google.com by
rob...@pivot.si
on 18 Jan 2014 at 9:45