changeset 2301:137ed5fbcbfd

jp (event/invitee/list): don't add a space after nick and jid when a table is displayed
author Goffi <goffi@goffi.org>
date Wed, 05 Jul 2017 14:50:13 +0200
parents 173d56315529
children f824b6026b73
files frontends/src/jp/cmd_event.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/cmd_event.py	Sun Jul 02 20:09:25 2017 +0200
+++ b/frontends/src/jp/cmd_event.py	Wed Jul 05 14:50:13 2017 +0200
@@ -260,8 +260,8 @@
             data,
             (u'nick',) + ((u'jid',) if self.host.verbosity else ()) +  (u'attend', 'guests'),
             headers=None,
-            filters = { u'nick': A.color(C.A_HEADER, u'{} '),
-                        u'jid': u'{} ',
+            filters = { u'nick': A.color(C.A_HEADER, u'{}' if show_table else u'{} '),
+                        u'jid': u'{}' if show_table else u'{} ',
                         u'attend': self._attend_filter,
                         u'guests': u'{}' if show_table else self._guests_filter,
                       },