Commits

Steve Losh committed 6701eb6

Sort chapters properly.

Comments (0)

Files changed (2)

             return dirname(j(source, '..')).lower()
 
 def _find_chapters(source):
-    for filename in os.listdir(source):
+    for filename in sorted(os.listdir(source)):
         name, ext = os.path.splitext(filename)
         if ext[1:] in extensions:
             if name not in ['footer', 'index']:
 
 setup(
     name='d',
-    version='0.2.1',
+    version='0.2.2',
     author='Steve Losh',
     author_email='steve@stevelosh.com',
     packages=['d'],