aboutsummaryrefslogtreecommitdiff
path: root/treeprint.py
diff options
context:
space:
mode:
Diffstat (limited to 'treeprint.py')
-rwxr-xr-xtreeprint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/treeprint.py b/treeprint.py
index adaaf1e..bba74a3 100755
--- a/treeprint.py
+++ b/treeprint.py
@@ -48,7 +48,7 @@ def showdict(data, indent):
print ""
showdict(value, abs(indent)+4),
else:
- showdict(value, -abs(indent+4)),
+ showdict(value, -(abs(indent)+4)),
else:
print " "+value.encode('utf-8'),
if "-n" in sys.argv: