]> gitweb.pimeys.fr Git - bots/parrot.git/blobdiff - quotes.py
On jsoninze les proper_place et proper_qoter plutôt
[bots/parrot.git] / 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"),
-             "place" : self.place, "quoter" : self.quoter}
+             "place" : self.proper_place, "quoter" : self.proper_quoter}
         return d
     
     def __get_proper_place(self):