close serial port before calling programArduino.py
Merge branch 'hotfix/program-leonardo-fix'