diff 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
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):