aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar dlaw <dlaw@mit.edu>2011-02-13 00:09:39 +0800
committerGravatar Russell <rcoh@mit.edu>2011-02-20 03:54:29 +0800
commit2b136469820fbaa8a21c79cee695e17a22111a29 (patch)
tree69c39f4c4258fed5d9ee6edcb610e446fbbc6b19
parentcf3dfd79fb22574b3b9aa9c549be47c3fc9267bb (diff)
Fixed python 2.7 issue where {val} is interpreted as set([val]).
-rw-r--r--config/FireflyDemo.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/FireflyDemo.xml b/config/FireflyDemo.xml
index 856569e..de639d9 100644
--- a/config/FireflyDemo.xml
+++ b/config/FireflyDemo.xml
@@ -81,7 +81,7 @@
<Class>behaviors.RestrictLocation</Class>
<Args>
<Id>xbounce</Id>
- <Action>{val}*-1</Action>
+ <Action>'{val}*-1'</Action>
<ParamName>XStep</ParamName>
<LocationRestriction>{x}&lt;0 or {x}&gt;800</LocationRestriction>
</Args>
@@ -90,7 +90,7 @@
<Class>behaviors.RestrictLocation</Class>
<Args>
<Id>ybounce</Id>
- <Action>{val}*-1</Action>
+ <Action>'{val}*-1'</Action>
<ParamName>YStep</ParamName>
<LocationRestriction>{y}&lt;0 or {y}&gt;200</LocationRestriction>
</Args>