Replay: check_replay.py: default to print for progress function

This commit is contained in:
Peter Barker 2020-11-30 11:05:04 +11:00 committed by Peter Barker
parent e972fb31b1
commit 8d756d8758

View File

@ -6,7 +6,7 @@ check that replay produced identical results
from __future__ import print_function from __future__ import print_function
def check_log(logfile, progress, ekf2_only=False, ekf3_only=False, verbose=False): def check_log(logfile, progress=print, ekf2_only=False, ekf3_only=False, verbose=False):
'''check replay log for matching output''' '''check replay log for matching output'''
from pymavlink import mavutil from pymavlink import mavutil
progress("Processing log %s" % logfile) progress("Processing log %s" % logfile)