From: W. Trevor King Date: Tue, 19 Apr 2011 20:55:09 +0000 (-0400) Subject: Add self to _stepper_approach_again arguments :p. X-Git-Tag: v0.3~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9eda9be5fdd90e823a05bd7999f94ddade26482;p=pyafm.git Add self to _stepper_approach_again arguments :p. --- diff --git a/pyafm.py b/pyafm.py index db11723..79aec0a 100644 --- 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))