aboutsummaryrefslogtreecommitdiff
path: root/scripts/readserial.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/readserial.py')
-rwxr-xr-xscripts/readserial.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/readserial.py b/scripts/readserial.py
index d85392e..5b40fdc 100755
--- a/scripts/readserial.py
+++ b/scripts/readserial.py
@@ -156,11 +156,11 @@ def main():
try:
import serial
except ImportError:
- print """
+ print("""
Unable to find pyserial package ( http://pyserial.sourceforge.net/ ).
On Linux machines try: yum install pyserial
Or: apt-get install python-serial
-"""
+""")
sys.exit(1)
ser = serial.Serial(serialport, baud, timeout=0)
else: