Revert "Fixed typo(?) in set_metadata() for touched files."

This reverts commit 8f30c17486701bf2cc29a84c98af5336de75fc56.
This commit is contained in:
GRiker 2013-07-01 03:46:32 -06:00
parent 144f66c13b
commit c3cc6a2278

View File

@ -36,7 +36,7 @@ def set_metadata(stream, mi):
except WorkerError as e:
raise Exception('Failed to set PDF metadata: %s'%e.orig_tb)
if touched:
with open(os.path.join(tdir, u'input.pdf'), 'rb') as f:
with open(os.path.join(tdir, u'output.pdf'), 'rb') as f:
f.seek(0, 2)
if f.tell() > 100:
f.seek(0)