X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fparrot.git;a=blobdiff_plain;f=quotes.py;h=85d290e5559e35cc1e533bc70ee9d2dd717ee747;hp=5c1a58ebbd4330230334cb91c821a4296dda9a1a;hb=fc73b676beb4d5acbeed51f4a2f91014f86448bc;hpb=4d8060e5c8b364b1802041c631375016f1fb063f 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")