Corrected StringLine field ZTK-1.1
authorThierry Florac <tflorac@ulthar.net>
Thu, 29 Mar 2012 19:18:44 +0200
branchZTK-1.1
changeset 135 864a0cee13c0
parent 134 72e3d386f4f6
child 136 aab380e3c821
Corrected StringLine field
ztfy/utils/schema.py
--- a/ztfy/utils/schema.py	Thu Mar 29 19:05:38 2012 +0200
+++ b/ztfy/utils/schema.py	Thu Mar 29 19:18:44 2012 +0200
@@ -30,3 +30,6 @@
     """String line field"""
 
     _type = str
+
+    def fromUnicode(self, value):
+        return str(value)