From 18381fffc203c0691b80c5079878b7379e2bf7c0 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 11 Nov 2018 17:18:24 +0100 Subject: [PATCH] generate-test-data: calculate in kilo, not kibi --- generate-test-data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-test-data.py b/generate-test-data.py index a9be763..e29b00b 100644 --- a/generate-test-data.py +++ b/generate-test-data.py @@ -3,7 +3,7 @@ from datetime import datetime, timedelta KBITS = 128 -bytes_per_second = KBITS * 1024 // 8 +bytes_per_second = KBITS * 1000 // 8 start = datetime.now().replace(minute=0, second=0) - timedelta(hours=3) end = start + timedelta(hours=6)