diff --git a/applications/sam/sam_ls.py b/applications/sam/sam_ls.py index a74baa24d..8d6945bbb 100644 --- a/applications/sam/sam_ls.py +++ b/applications/sam/sam_ls.py @@ -185,7 +185,10 @@ def _printItem(self, item, args, level): indentTree += '|__ ' # display - toPrint = detailed + filePath + detailedSequence + toPrint = detailed + filePath + if not args.script: + toPrint += detailedSequence + # if first level or no tree formatting if level == 0 or args.script: puts(toPrint.format())