Fix pathing

pull/90/head
Eric Holscher 8 years ago
parent b6ae837be9
commit d34af13767

@ -120,7 +120,7 @@ class PythonMapperBase(object):
slug = unidecode.unidecode(slug)
slug = slug.replace('-', '')
slug = re.sub(r'[^\w\.]+', '-', slug).strip('-')
return slug.split('.')[-1]
return os.path.join(*slug.split('.'))
def include_dir(self, root):
"""Return directory of file"""

Loading…
Cancel
Save