diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-02 20:04:47 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-02 20:04:47 (GMT) |
commit | 567b1cd19cb4c7a1af81e634283da3059a5dbf07 (patch) | |
tree | 6d2710657eae37672f08d09cc6e046b3ee2f80bd | |
parent | 670115a0b9dc192ce8544bd922c90111d8088842 (diff) |
fix bug when getting the loop controller
-rw-r--r-- | TurtleArt/taprimitive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/taprimitive.py b/TurtleArt/taprimitive.py index 685ce30..217b0cb 100644 --- a/TurtleArt/taprimitive.py +++ b/TurtleArt/taprimitive.py @@ -547,7 +547,7 @@ class Primitive(object): for desc in self.arg_descs: if isinstance(desc, ConstantArg): - value = desc.get() + value = desc.value if _is_loop_controller(value): return value elif isinstance(desc, ArgSlot): |