Permalink
Browse files

Merge branch 'master' of github.com:m0mchil/poclbm

  • Loading branch information...
2 parents 6c694c3 + bd536e4 commit cc79127ab797757e82fefc7a61ee8e52f57fad39 @m0mchil committed Nov 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ioutil.py
View
@@ -28,7 +28,8 @@ def find_serial_by_id(check, product_id):
def find_com_ports(check):
ports = []
if WINDOWS:
- com_ports = [p[0] for p in list_ports.comports()].sort()
+ com_ports = [p[0] for p in list_ports.comports()]
+ com_ports.sort()
for port in com_ports:
if check(port, False):
ports.append(port)

0 comments on commit cc79127

Please sign in to comment.