Commits

Amit Aronovitch  committed a33d60c

bugfix: history and index broken when using -E

  • Participants
  • Parent commits b56ce36

Comments (0)

Files changed (1)

File hatta/storage.py

         if name.startswith('_') and len(name) > 1:
             name = name[1:]
         if self.extension and name.endswith(self.extension):
-            name = name[:len(self.extension)]
+            name = name[:-len(self.extension)]
         return werkzeug.url_unquote(name)
 
     def __contains__(self, title):