Tools: runplanetest.py: Remove redundant parenthesis
This syntax error was mistakenly introduced in #6999.
This commit is contained in:
parent
5400611f49
commit
654bb6ffce
@ -9,7 +9,7 @@ def wait_heartbeat(mav, timeout=10):
|
||||
while time.time() < start_time+timeout:
|
||||
if mav.recv_match(type='HEARTBEAT', blocking=True, timeout=0.5) is not None:
|
||||
return
|
||||
raise Exception(("Failed to get heartbeat")
|
||||
raise Exception("Failed to get heartbeat")
|
||||
|
||||
def wait_mode(mav, modes, timeout=10):
|
||||
'''wait for one of a set of flight modes'''
|
||||
|
Loading…
Reference in New Issue
Block a user