Fixed crash with visible_string due to latest changes.
authoretisserant
Tue, 02 Oct 2007 17:59:16 +0200
changeset 304 32d93e0c6e64
parent 303 340348f0193f
child 305 db803c81f19f
Fixed crash with visible_string due to latest changes.
objdictgen/node.py
--- a/objdictgen/node.py	Tue Oct 02 17:58:31 2007 +0200
+++ b/objdictgen/node.py	Tue Oct 02 17:59:16 2007 +0200
@@ -858,7 +858,7 @@
         return result
             
     def CompileValue(self, value, index, compute = True):
-        if type(value) == StringType:
+        if type(value) == StringType and value.find("$NODEID") != -1:
             base = self.GetBaseIndex(index)
             try:
                 raw = eval(value)