minor bugfixes

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@234 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2010-08-26 15:02:29 +00:00
parent 1a8692124f
commit ac74542d1f
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Python PDF parser and analyzer
<div align=right class=lastmod>
<!-- hhmts start -->
Last Modified: Sun Jun 13 04:20:47 UTC 2010
Last Modified: Mon Jul 5 15:30:32 UTC 2010
<!-- hhmts end -->
</div>
@ -387,6 +387,7 @@ For details, see the <a href="programming.html">Programming with PDFMiner</a> pa
<hr noshade>
<h2>Changes</h2>
<ul>
<li> 2010/07/06: Minor bugfixes. Thanks to Federico Brega.
<li> 2010/06/13: Bugfixes and improvements on CMap data compression. Thanks to Jakub Wilk.
<li> 2010/04/24: Bugfixes and improvements on TOC extraction. Thanks to Jose Maria.
<li> 2010/03/26: Bugfixes. Thanks to Brian Berry and Lubos Pintes.

View File

@ -704,7 +704,7 @@ class LTFigure(LTAnalyzer):
(self.name, bbox2str(self.bbox), matrix2str(self.matrix)))
def analyze(self, laparams):
if laparams.all_texts:
if laparams and laparams.all_texts:
LTAnalyzer.analyze(self, laparams)
return