]> gitweb.pimeys.fr Git - bots/parrot.git/commitdiff
On jsoninze les proper_place et proper_qoter plutôt
authorVincent Le Gallic <legallic@crans.org>
Sat, 12 Mar 2016 13:38:39 +0000 (14:38 +0100)
committerVincent Le Gallic <legallic@crans.org>
Sat, 12 Mar 2016 13:38:39 +0000 (14:38 +0100)
quotes.py

index e280d8da6983d41abfc322eefcd89e5000461f83..80fea5328eafd7f25bd41a373f2be71d565551be 100644 (file)
--- 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"),
     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):
         return d
     
     def __get_proper_place(self):