aboutsummaryrefslogtreecommitdiffstats
path: root/clients/urwid/main.py
diff options
context:
space:
mode:
authorBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-13 16:29:01 -0500
committerBlake DeMarcy <ofunknowndescent@gmail.com>2017-04-13 16:29:01 -0500
commit2478b469a711479b64e2671eb92aa90f16272b7f (patch)
tree74db85965c7cc5ed621e0fbf027c3fa7091557a4 /clients/urwid/main.py
parentf40149432ae09280e7221713b381505714e030be (diff)
downloadbbj-2478b469a711479b64e2671eb92aa90f16272b7f.tar.gz
hotfix reeeeeeeeeee
Diffstat (limited to 'clients/urwid/main.py')
-rw-r--r--clients/urwid/main.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/clients/urwid/main.py b/clients/urwid/main.py
index 455254a..9549907 100644
--- a/clients/urwid/main.py
+++ b/clients/urwid/main.py
@@ -1118,8 +1118,12 @@ class MessageBody(urwid.Text):
result.append((directive, body))
elif directive == "linequote":
- if directive != last_directive and result[-1][-1][-1] != "\n":
- result.append(("default", "\n"))
+ try:
+ # this /naughty/ hack is supposed to keep spacing consistent....needs tweaking
+ if directive != last_directive and result[-1][-1][-1] != "\n":
+ result.append(("default", "\n"))
+ except IndexError:
+ pass
result.append(("3", "%s\n" % body.strip()))
elif directive == "quote":
Un proyecto texto-plano.xyz