summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/matt/animation-w-velocity-ctrl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/matt/animation-w-velocity-ctrl.py')
-rw-r--r--Demo/tkinter/matt/animation-w-velocity-ctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/matt/animation-w-velocity-ctrl.py b/Demo/tkinter/matt/animation-w-velocity-ctrl.py
index a45f3f0..f3332f2 100644
--- a/Demo/tkinter/matt/animation-w-velocity-ctrl.py
+++ b/Demo/tkinter/matt/animation-w-velocity-ctrl.py
@@ -28,7 +28,7 @@ class Test(Frame):
def moveThing(self, *args):
velocity = self.speed.get()
str = float(velocity) / 1000.0
- str = `str` + "i"
+ str = "%ri" % (str,)
self.draw.move("thing", str, str)
self.after(10, self.moveThing)