fixed the comports variable in canport.py