Add self to _stepper_approach_again arguments :p.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:55:09 +0000 (16:55 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:55:09 +0000 (16:55 -0400)
pyafm.py

index db1172344222ba6debbbd415261fd76bf91bea03..79aec0ac3006fe8dd36ba806f883aae6b20ae14d 100644 (file)
--- a/pyafm.py
+++ b/pyafm.py
@@ -125,7 +125,7 @@ class AFM (object):
             % (depth, self.stepper.position, target, target_m))
 
 
-    def _stepper_approach_again(target_deflection, far):
+    def _stepper_approach_again(self, target_deflection, far):
         LOG.info('back off %d half steps and approach until deflection > %g'
                  % (far, target_deflection))