From 86a9848b14c059aa264b0b65d4454a2c4e821e89 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 23 Jan 2012 15:55:22 -0500 Subject: [PATCH] Oops, remove trailing colon from `max_def = defc.get_maxdata():`. Sloppy copy/paste. --- pyafm/afm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyafm/afm.py b/pyafm/afm.py index 0417e6b..406b15f 100644 --- a/pyafm/afm.py +++ b/pyafm/afm.py @@ -152,7 +152,7 @@ class AFM (object): def _check_target_deflection(self, target_deflection): defc = self._deflection_channel() - max_def = defc.get_maxdata(): + max_def = defc.get_maxdata() if target_deflection > max_def: _LOG.error(('requested setpoint ({:g} V = {:d} bits) is larger ' 'than the maximum deflection value of {:d} bits' -- 2.26.2