diff options
Diffstat (limited to 'usb-control/cp210x_controller.py')
-rw-r--r-- | usb-control/cp210x_controller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usb-control/cp210x_controller.py b/usb-control/cp210x_controller.py index b4d9d15..93e5b33 100644 --- a/usb-control/cp210x_controller.py +++ b/usb-control/cp210x_controller.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Low-level library to control the CP210x. """ @@ -70,7 +70,7 @@ def find_board_list(product_string, serialnumber): devs = list(dev_it) return devs - except ValueError, e: + except ValueError as e: if 'langid' in e.message: raise usb.core.USBError(e.message + "\n" + "This may be a permission issue. See: \n" + |