Tools: sim_vehicle.py: fix small bug introduced in e298e87

Thanks to @cclauss for finding this
This commit is contained in:
Francisco Ferreira 2017-08-29 12:16:23 +01:00
parent 7e1368f7a5
commit 2645760d19
No known key found for this signature in database
GPG Key ID: F63C20A6773E787E
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ if cmd_opts.valgrind and (cmd_opts.gdb or cmd_opts.gdb_stopped):
print("May not use valgrind with gdb")
sys.exit(1)
if cmd_opts.valgrind and opts.callgrind:
if cmd_opts.valgrind and cmd_opts.callgrind:
print("May not use valgrind with callgrind")
sys.exit(1)