From e02b766ab25a437cb41155dae25a3af6890bde90 Mon Sep 17 00:00:00 2001 From: "vy.boyko" Date: Wed, 16 Oct 2024 12:22:58 +0300 Subject: [PATCH] fix progress bar --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 12cffbe..7639a24 100644 --- a/src/app.py +++ b/src/app.py @@ -59,7 +59,7 @@ with open(args.logs, 'r') as file: progress = tqdm(total=file_len, unit='b', unit_scale=2) for line in file: l = line.strip() - progress.update(len(line)) + progress.update(len(line)+1) (is_parsed, year, month, day, hour, minute, second) = _parse(l) if is_parsed: if first_line is None: