From: W. Trevor King Date: Wed, 20 Apr 2011 18:46:04 +0000 (-0400) Subject: Fix typo target_def -> target_deflection. X-Git-Tag: v0.3~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad4bc41252e829c4d8451aefec06a2b4adf84a25;p=pyafm.git Fix typo target_def -> target_deflection. --- diff --git a/pyafm.py b/pyafm.py index 1d359de..d493316 100644 --- a/pyafm.py +++ b/pyafm.py @@ -164,7 +164,7 @@ class AFM (object): LOG.debug('additional surface location attempt') try: pos = self.piezo.get_surface_position( - axis_name=self.axis_name, max_deflection=target_def) + axis_name=self.axis_name, max_deflection=target_deflection) return pos except _SurfaceError, e: LOG.info(e)