changeset 20:f63fbef9fed8

Fix self.center
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Wed, 25 Jun 2014 14:36:23 +0000
parents 441acc81edca
children 898771cf9d0c
files maestro.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/maestro.py	Wed Jun 25 16:31:24 2014 +0200
+++ b/maestro.py	Wed Jun 25 14:36:23 2014 +0000
@@ -86,7 +86,7 @@
         self.reverse = reverse
         self.max_degrees = max_degrees
         self.width = self.max_position - self.min_position
-        if self.center is None:
+        if center is None:
             self.center = self.min_position + self.width / 2
         else:
             self.center = center