This commit is contained in:
Daniel Langbein 2022-07-22 11:46:57 +02:00
parent b4aabb9b7a
commit 24a4f9a375

View File

@ -18,7 +18,8 @@ def main():
# filtered = filtered_example() # filtered = filtered_example()
tps = [Throughput.from_str(line) for line in filtered] tps = [Throughput.from_str(line) for line in filtered]
print(f'From {tps[0].dt} until {tps[-1].dt}:') if len(tps) > 0:
print(f'From {tps[0].dt} until {tps[-1].dt}:')
grouped_by_day = {} grouped_by_day = {}
for tp in tps: for tp in tps: