aboutsummaryrefslogtreecommitdiff
path: root/treeprint.py
diff options
context:
space:
mode:
authorMark Shoulson <mark@kli.org>2017-02-19 19:35:55 -0500
committerMark Shoulson <mark@kli.org>2017-02-19 19:49:34 -0500
commit87d16bbe62d98e965b2d5e3b931bad082636feaf (patch)
tree3fd66d2277686c7a178b3432f1694ac89b53c3a1 /treeprint.py
parentA few more modifier letters... (diff)
downloaddotXCompose-87d16bbe62d98e965b2d5e3b931bad082636feaf.tar.gz
dotXCompose-87d16bbe62d98e965b2d5e3b931bad082636feaf.tar.bz2
dotXCompose-87d16bbe62d98e965b2d5e3b931bad082636feaf.zip
Properly merge modletters in: use M_, improve emojitrans2.pl
Fix arguable bug in treeprint.py
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: