Commits

David Boddie committed a27e5f4

Try to recognize files whose names have been truncated to 8 characters.

Comments (0)

Files changed (1)

Impression/impression.py

                     raise ImpressionError, 'Unknown form for chapter directory in %s: %s' % \
                         (self.filename, file)
 
-            elif string.lower(file) == 'masterchap':
+            elif string.lower(file[:8]) == 'masterch':
 
                 # Enter the "MasterChap" object into a dictionary with a zero key.
                 chapters[0] = file