hooks/syncschema.py
changeset 11038 7cb02ab4f321
parent 11005 f8417bd135ed
child 11106 012e6c7d02ef
--- a/hooks/syncschema.py	Tue Dec 22 16:16:07 2015 +0100
+++ b/hooks/syncschema.py	Tue Dec 22 10:39:05 2015 +0100
@@ -463,7 +463,7 @@
                  'fulltextindexed': entity.fulltextindexed,
                  'internationalizable': entity.internationalizable}
         if entity.extra_props:
-            props.update(json.load(entity.extra_props))
+            props.update(json.loads(entity.extra_props.getvalue().decode('ascii')))
         # entity.formula may not exist yet if we're migrating to 3.20
         if hasattr(entity, 'formula'):
             props['formula'] = entity.formula