fix progress bar

This commit is contained in:
vy.boyko 2024-10-16 12:22:58 +03:00
parent 9bba32a197
commit e02b766ab2

View File

@ -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: