diff --git a/docs/index.html b/docs/index.html
index 02b5509..c2d4a34 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -19,7 +19,7 @@ Python PDF parser and analyzer
-Last Modified: Fri Nov 13 19:12:36 JST 2009
+Last Modified: Sun Nov 29 16:16:28 JST 2009
@@ -66,8 +66,7 @@ PDF parser that can be used for other purposes instead of text analysis.
Download:
-
-http://www.unixuser.org/~euske/python/pdfminer/pdfminer-20091024.tar.gz
+pdfminer-20091129.tar.gz
(1.8Mbytes)
@@ -347,7 +346,8 @@ no stream header is displayed for the ease of saving it to a file.
TODOs
-- PEP-8 conformance.
+
- PEP-8 and
+PEP-257 conformance.
- Better text extraction / layout analysis.
- Better API Documentation.
- Robust error handling.
@@ -357,7 +357,8 @@ no stream header is displayed for the ease of saving it to a file.
Changes
-- 2009/11/xx: Password encryption bug fixed. Thanks to Yannick Gingras.
+
- 2009/11/29: Password encryption bug fixed. Thanks to Yannick Gingras.
+
- 2009/10/31: SGML output format is changed and renamed as XML.
- 2009/10/24: Charspace bug fixed. Adjusted for 4-space indentation.
- 2009/10/04: Another matrix operation bug fixed. Thanks to Vitaly Sedelnik.
- 2009/09/12: Fixed rectangle handling. Able to extract image boundaries.
diff --git a/pdfminer/__init__.py b/pdfminer/__init__.py
index 07db048..37887d6 100644
--- a/pdfminer/__init__.py
+++ b/pdfminer/__init__.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
-__version__ = '20091024'
+__version__ = '20091129'
if __name__ == '__main__': print __version__
diff --git a/pdfminer/cmap.py b/pdfminer/cmap.py
index f80284c..688f407 100644
--- a/pdfminer/cmap.py
+++ b/pdfminer/cmap.py
@@ -37,7 +37,7 @@ class CMapError(Exception): pass
##
def find_cmap_path():
"""Returns the location of CMap directory."""
- for path in (os.environ['CMAP_PATH'],
+ for path in (os.environ.get('CMAP_PATH', '.'),
os.path.join(os.path.dirname(__file__), 'CMap')):
if os.path.isdir(path):
return path