From: W. Trevor King Date: Fri, 13 Jan 2012 18:05:19 +0000 (-0500) Subject: Fix get -> get_temperature typo in AFM.get_temperature. X-Git-Tag: v0.4~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3747a25f2b6b4363824872137f5e9dfcc689e33c;p=pyafm.git Fix get -> get_temperature typo in AFM.get_temperature. --- diff --git a/pyafm/afm.py b/pyafm/afm.py index 61c44f1..ada5b13 100644 --- a/pyafm/afm.py +++ b/pyafm/afm.py @@ -59,7 +59,7 @@ class AFM (object): Return the sample temperature in Kelvin or `None` if such a measurement is not possible. """ - if hasattr(self.temperature, 'get'): + if hasattr(self.temperature, 'get_temperature'): return self.temperature.get_temperature() def move_just_onto_surface(self, depth=-50e-9, setpoint=2, far=200):