Blob Blame History Raw
diff -ur a/record.py b/record.py
--- a/record.py	2009-04-29 14:55:40.000000000 +0200
+++ b/record.py	2010-02-21 19:50:17.000000000 +0100
@@ -36,7 +36,7 @@
 from sugar.presence import presenceservice
 from sugar.presence.tubeconn import TubeConnection
 from sugar import util
-import port.json
+import json
 
 from model import Model
 from ui import UI
@@ -104,7 +104,7 @@
 
         for i in dom.documentElement.getElementsByTagName('ui'):
             for ui_el in i.childNodes:
-                self.ui.deserialize(port.json.loads(ui_el.data))
+                self.ui.deserialize(json.loads(ui_el.data))
 
 
     def write_file(self, file):
@@ -114,7 +114,7 @@
 
         dom = serialize.saveMediaHash(self.m.mediaHashs)
 
-        ui_data = port.json.dumps(self.ui.serialize())
+        ui_data = json.dumps(self.ui.serialize())
         ui_el = dom.createElement('ui')
         ui_el.appendChild(dom.createTextNode(ui_data))
         dom.documentElement.appendChild(ui_el)