changeset 273:0ef216091f2b

core: removed forgotten debugging code
author Goffi <goffi@goffi.org>
date Wed, 20 Mar 2019 09:29:44 +0100
parents c4990a7d5dbd
children 7d5297984191
files cagou/core/common.py
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/common.py	Wed Mar 20 09:29:44 2019 +0100
+++ b/cagou/core/common.py	Wed Mar 20 09:29:44 2019 +0100
@@ -66,14 +66,10 @@
             self.avatar.opacity = 0
             self.avatar.source = ""
         else:
-            try:
-                self.avatar.source = (
-                    host.getAvatar(self.jid, profile=self.profile)
-                    or host.getDefaultAvatar(self.jid)
-                )
-            except Exception as e:
-                __import__('pudb').set_trace()
-                print(e)
+            self.avatar.source = (
+                host.getAvatar(self.jid, profile=self.profile)
+                or host.getDefaultAvatar(self.jid)
+            )
 
 
 class JidButton(ButtonBehavior, JidItem):