Lakeshore 340 only has one HTR

This commit is contained in:
Douglas Clowes
2013-06-25 11:09:54 +10:00
parent 0c179166de
commit 66f67c1c0d

View File

@@ -360,7 +360,7 @@ class Lakeshore340(LakeshoreDevice):
else:
raise IndexError
def doQueryHTR(self, cmd, args):
idx = int(args[0])
idx = 1
if idx in self.HTR:
self.write("%f" % self.HTR[idx])
else: