]> gitweb.pimeys.fr Git - bots/parrot.git/blobdiff - quotes.py
On n'affiche pas le contexte dans le channel
[bots/parrot.git] / quotes.py
index 5c1a58ebbd4330230334cb91c821a4296dda9a1a..85d290e5559e35cc1e533bc70ee9d2dd717ee747 100644 (file)
--- a/quotes.py
+++ b/quotes.py
@@ -59,10 +59,7 @@ class Quote(object):
     
     def __unicode__(self):
         """ Retourne la quote affichable """
-        if self.place and self.place.strip() != u"":
-            return config.quote_template_withcontext % self.__dict__
-        else:
-            return config.quote_template % self.__dict__
+        return config.quote_template % self.__dict__
     def __str__(self):
         return unicode(self).encode("utf-8")