From fc73b676beb4d5acbeed51f4a2f91014f86448bc Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Tue, 28 Jul 2015 05:33:45 +0200 Subject: [PATCH] On n'affiche pas le contexte dans le channel --- quotes.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/quotes.py b/quotes.py index 5c1a58e..85d290e 100644 --- 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") -- 2.39.2