diff options
author | Hernan Grecco <hernan.grecco@gmail.com> | 2015-03-17 21:21:51 -0300 |
---|---|---|
committer | Hernan Grecco <hernan.grecco@gmail.com> | 2015-03-17 21:21:51 -0300 |
commit | 8b4d166c46597c3a3cac18f614c503b05b55cd04 (patch) | |
tree | 2582c94706fa878725f6638f6471496ece8c1164 | |
parent | 7137bd7f5f775628549db01f85ddfd8cf3565b91 (diff) |
Fix PySerial version reporting
close #22
-rw-r--r-- | pyvisa-py/serial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyvisa-py/serial.py b/pyvisa-py/serial.py index 8208a01..025ac95 100644 --- a/pyvisa-py/serial.py +++ b/pyvisa-py/serial.py @@ -58,7 +58,7 @@ class SerialSession(Session): @classmethod def get_low_level_info(cls): try: - ver = '.'.join(serial.version) + ver = '.'.join(serial.VERSION) except AttributeError: ver = 'N/A' |