Commits

Erik Schweller committed 18f77f2

the reason for unit tests - fix extension rule matching

Comments (0)

Files changed (1)

     """Returns the best matching extension_pattern for ext from a list of
     extension patterns or none if no extension applies
     """
+    ext = '*.{0}'.format(ext)
     if ext in extensions:
         return ext
     matches = []