diff --git a/python_api/libInteractive.py b/python_api/libInteractive.py index 5b42fec..d78bea4 100644 --- a/python_api/libInteractive.py +++ b/python_api/libInteractive.py @@ -305,6 +305,8 @@ def diagnosis_push_file( symbol = '>' startTime = int(time.time() * 1000) totalChunks = 0 + dpt.info_print("total chunks to transfer: {:.2f}" + .format(os.path.getsize(localfp) / chunkSize)) with open(localfp, 'rb') as f: while 1: chunk = f.read(chunkSize)