fix tree_repr

This commit is contained in:
Amber 2024-02-07 14:01:09 +01:00
parent 4976611793
commit c7b65b9d78
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def produce_treeline(prec_seps, lsep):
item_name = item['name']
tomount = sep + item_name
if item['type'] == 'l' and item['target']:
if item.get('type') == 'l' and item.get('target', ''):
tomount += ' -> %s' % ((item['target'],))
# if item.get('type') == 'd':