don't print a space before ':' in information window
This commit is contained in:
parent
31be0d373a
commit
b8830da5c6
|
@ -115,7 +115,7 @@ class Vcard_information_window:
|
||||||
resources = self.user.resource + ' (' + str(self.user.priority) + ')'
|
resources = self.user.resource + ' (' + str(self.user.priority) + ')'
|
||||||
if not self.user.status:
|
if not self.user.status:
|
||||||
self.user.status = ''
|
self.user.status = ''
|
||||||
stats = self.user.show + ' : ' + self.user.status
|
stats = self.user.show + ': ' + self.user.status
|
||||||
for u in self.plugin.roster.contacts[self.account][self.user.jid]:
|
for u in self.plugin.roster.contacts[self.account][self.user.jid]:
|
||||||
if u.resource != self.user.resource:
|
if u.resource != self.user.resource:
|
||||||
resources += '\n' + u.resource + ' (' + str(u.priority) + ')'
|
resources += '\n' + u.resource + ' (' + str(u.priority) + ')'
|
||||||
|
|
Loading…
Reference in New Issue