correction on json
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 26 Jan 2011 10:34:10 +0100
changeset 24 71a4f21bc6fc
parent 23 2b17b26ca153
child 25 47424997a3a5
correction on json
.hgignore
script/lib/iri_tweet/utils.py
--- a/.hgignore	Tue Jan 25 15:45:55 2011 +0100
+++ b/.hgignore	Wed Jan 26 10:34:10 2011 +0100
@@ -12,8 +12,8 @@
 syntax: regexp
 ^script/stream/res$
 syntax: regexp
-^script/stream/test_record\.db$
+^script/stream/.+\.db$
 .oauth_token$
 
 syntax: regexp
-log.txt$
\ No newline at end of file
+log.txt$
--- a/script/lib/iri_tweet/utils.py	Tue Jan 25 15:45:55 2011 +0100
+++ b/script/lib/iri_tweet/utils.py	Wed Jan 26 10:34:10 2011 +0100
@@ -89,7 +89,7 @@
             self.json_dict = json_dict
         
         if not json_txt:
-            self.json_txt = json.serialize(json_dict)
+            self.json_txt = anyjson.serialize(json_dict)
         else:
             self.json_txt = json_txt