author | greg |
Wed, 18 Mar 2009 09:10:54 +0100 | |
changeset 541 | dcc7f1323ce5 |
parent 540 | 6857b6ffb7a7 |
child 542 | 4328444b039b |
--- a/objdictgen/node.py Tue Mar 17 00:04:24 2009 +0100 +++ b/objdictgen/node.py Wed Mar 18 09:10:54 2009 +0100 @@ -917,7 +917,7 @@ return result def CompileValue(self, value, index, compute = True): - if isinstance(value, (StringType, UnicodeType)) and value.find("$NODEID") != -1: + if isinstance(value, (StringType, UnicodeType)) and value.upper().find("$NODEID") != -1: base = self.GetBaseIndex(index) try: raw = eval(value)