From ad4bc41252e829c4d8451aefec06a2b4adf84a25 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Apr 2011 14:46:04 -0400 Subject: [PATCH] Fix typo target_def -> target_deflection. --- pyafm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2