Commit 8d606bb2 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

What do you know, that silly test caught a bug

parent 6797bffe
......@@ -82,7 +82,7 @@ def hasExt(path, allowedExts):
"""Convenience function which returns ``True`` if the given ``path``
ends with any of the given ``allowedExts``, ``False`` otherwise.
return any([path.endsWith(e) for e in allowedExts])
return any([path.endswith(e) for e in allowedExts])
def addExt(prefix,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment