diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py index da7383309e..88a3ccf9d4 100644 --- a/MAVProxy/mavproxy.py +++ b/MAVProxy/mavproxy.py @@ -753,7 +753,7 @@ def process_stdin(line): try: args = shlex_quotes(line) except Exception as e: - print("Caught shlex exception: %s" % e.message); + print("Caught shlex exception: %s" % str(e)); return # strip surrounding quotes - shlex leaves them in place