Merge pull request #96 from AndrolGenhald/fix_undefined_exitNow

Change undefined exitNow to exit
This commit is contained in:
Felix Rusu 2018-03-09 10:12:10 -05:00 committed by GitHub
commit f3a41e6647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ try:
ser.flushInput();
except IOError as e:
print "COM Port [", SERIALPORT, "] not found, exiting..."
exitNow(1)
exit(1)
try:
if not 0<TARGET<= 255: