From 23b8058ad48c7c974713833b9d9472348454d335 Mon Sep 17 00:00:00 2001 From: "yusuke.shinyama.dummy" Date: Sat, 31 Oct 2009 02:09:36 +0000 Subject: [PATCH] outfp closing bug fixed git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@145 1aa58f4a-7d42-0410-adbc-911cccaed67c --- docs/index.html | 5 +++-- tools/pdf2txt.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 435922d..e7d1a23 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,7 +19,7 @@ Python PDF parser and analyzer
-Last Modified: Tue Oct 27 00:22:22 JST 2009 +Last Modified: Sat Oct 31 11:08:31 JST 2009
@@ -353,6 +353,7 @@ no stream header is displayed for the ease of saving it to a file.

Changes

diff --git a/tools/pdf2txt.py b/tools/pdf2txt.py index d61676f..d212c36 100755 --- a/tools/pdf2txt.py +++ b/tools/pdf2txt.py @@ -88,6 +88,7 @@ def main(argv): process_pdf(rsrc, device, fp, pagenos, maxpages=maxpages, password=password) fp.close() device.close() + outfp.close() return if __name__ == '__main__': sys.exit(main(sys.argv))