Accel: Better call return data.
[python-bulletml.git] / bulletml / parser.py
index 0af6694..8bea044 100644 (file)
@@ -181,10 +181,8 @@ class Accel(object):
 
     def __call__(self, params, rank):
         frames = self.term(params, rank)
 
     def __call__(self, params, rank):
         frames = self.term(params, rank)
-        horizontal = self.horizontal and (
-            self.horizontal(params, rank), self.horizontal.type)
-        vertical = self.vertical and (
-            self.vertical(params, rank), self.vertical.type)
+        horizontal = self.horizontal and self.horizontal(params, rank)
+        vertical = self.vertical and self.vertical(params, rank)
         return frames, horizontal, vertical
 
     def __repr__(self):
         return frames, horizontal, vertical
 
     def __repr__(self):