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-17 01:05:20 +0800
commitbb5a90235f2cf2efb28fa85a237774acd33f09c0 (patch)
tree7a5acc4a8062af0a8b05a53f0dc24c7e363b37d9
parentf34e1c732036553e4a68534dfc1b24a13ccd33ce (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>