Skip to content
Snippets Groups Projects
Commit ffdff5f8 authored by auke.klazema's avatar auke.klazema
Browse files

moved default initalization of _devices to clean init code

parent 7ce7777f
Branches master
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ class PortDevice(object):
class PrologixGpibUsb(PortDevice):
_serialPort = None
_hpib_address = -1
_devices = "Not scanned."
def __init__(self, port="", timeout=1, port_format="%d", max_device_num=9, verbose=False,
find_devices=False):
......@@ -36,8 +37,6 @@ class PrologixGpibUsb(PortDevice):
if find_devices:
self._find_devices()
else:
self._devices = "Not scanned."
def _set_default_platform_values(self):
if platform.system() == "Linux":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment