From: Vincent Le Gallic Date: Sat, 12 Mar 2016 13:38:39 +0000 (+0100) Subject: On jsoninze les proper_place et proper_qoter plutôt X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fparrot.git;a=commitdiff_plain;h=a8f3510661256d23aa62fe24c07e99aa3de06b13 On jsoninze les proper_place et proper_qoter plutôt --- diff --git a/quotes.py b/quotes.py index e280d8d..80fea53 100644 --- a/quotes.py +++ b/quotes.py @@ -54,7 +54,7 @@ class Quote(object): def jsonize(self): d = {"author" : self.author, "content" : self.content, "timestamp" : self.timestamp.strftime(u"%F_%T"), - "place" : self.place, "quoter" : self.quoter} + "place" : self.proper_place, "quoter" : self.proper_quoter} return d def __get_proper_place(self):