Commit edb25e27 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Make class variable local

parent 8d95c410
...@@ -172,9 +172,9 @@ class HpibDevice(object): ...@@ -172,9 +172,9 @@ class HpibDevice(object):
time.sleep(self._pause) time.sleep(self._pause)
def query(self, queryStr): def query(self, queryStr):
self._answerStr = self._port.query(self._hpib_address, queryStr) answerStr = self._port.query(self._hpib_address, queryStr)
self.set_local(self._keepLocal) self.set_local(self._keepLocal)
return self._answerStr return answerStr
def get_devices(self): def get_devices(self):
return ["Not implemented"] return ["Not implemented"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment