summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ybd/morphs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/morphs.py b/ybd/morphs.py
index 4e1059d..00e7775 100644
--- a/ybd/morphs.py
+++ b/ybd/morphs.py
@@ -166,7 +166,7 @@ class Morphs(object):
exit=exit)
dn['path'] += '.default'
- dn['path'] = self._demorph(dn['path'])
+ dn['path'] = os.path.basename(self._demorph(dn['path']))
dn.setdefault('name', os.path.basename(dn['path']))
if dn.get('name') == config['target']: