diff --git a/README.md b/README.md index 6da0c7a..17d9e19 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ From 2022-09-25 22:14:50 until 2022-09-29 11:02:26: 2022-09-27: 1608 MB up 548 MB down 278 Connections 2022-09-28: 774 MB up 423 MB down 281 Connections 2022-09-29: 760 MB up 314 MB down 136 Connections + Total: 4297 MB up 1682 MB down 898 Connections ``` diff --git a/main.py b/main.py index 6eb8cbc..8aacb8b 100755 --- a/main.py +++ b/main.py @@ -25,6 +25,7 @@ def parse_log(log: str) -> None: tps = [Throughput.from_str(line) for line in log.splitlines()] tps = [tp for tp in tps if tp] if len(tps) > 0: + print() print(f'From {tps[0].dt} until {tps[-1].dt}:') grouped_by_day = {} @@ -40,6 +41,7 @@ def parse_log(log: str) -> None: print(f'{day}: {tps_sum}') tps_total += tps_sum + print() print(f'Total:\n{tps_total}')