comparison cagou/core/common.py @ 273:0ef216091f2b

core: removed forgotten debugging code
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:29:44 +0100
parents ba7b8cb7ddcd
children 1b835bcfa663
comparison
equal deleted inserted replaced
272:c4990a7d5dbd 273:0ef216091f2b
64 host = G.host 64 host = G.host
65 if host.contact_lists[self.profile].isRoom(self.jid.bare): 65 if host.contact_lists[self.profile].isRoom(self.jid.bare):
66 self.avatar.opacity = 0 66 self.avatar.opacity = 0
67 self.avatar.source = "" 67 self.avatar.source = ""
68 else: 68 else:
69 try: 69 self.avatar.source = (
70 self.avatar.source = ( 70 host.getAvatar(self.jid, profile=self.profile)
71 host.getAvatar(self.jid, profile=self.profile) 71 or host.getDefaultAvatar(self.jid)
72 or host.getDefaultAvatar(self.jid) 72 )
73 )
74 except Exception as e:
75 __import__('pudb').set_trace()
76 print(e)
77 73
78 74
79 class JidButton(ButtonBehavior, JidItem): 75 class JidButton(ButtonBehavior, JidItem):
80 pass 76 pass
81 77