objdictgen/subindextable.py
changeset 266 8678a3cf7fe7
parent 254 f2b0acb54e65
child 269 f0ed853bace7
--- a/objdictgen/subindextable.py	Tue Sep 04 17:47:04 2007 +0200
+++ b/objdictgen/subindextable.py	Tue Sep 04 17:47:46 2007 +0200
@@ -91,12 +91,8 @@
 
     def GetValue(self, row, col):
         if row < self.GetNumberRows():
-            value = self.data[row].get(self.GetColLabelValue(col), "")
-            if (type(value) == UnicodeType):
-                return value
-            else: 
-                return str(value)
-    
+            return str(self.data[row].get(self.GetColLabelValue(col), ""))
+            
     def GetEditor(self, row, col):
         if row < self.GetNumberRows():
             return self.editors[row].get(self.GetColLabelValue(col), "")