From d4e572801518a097ba04005549504b8dc2d569e2 Mon Sep 17 00:00:00 2001 From: brb Date: Tue, 11 Jul 2023 09:59:24 +0200 Subject: [PATCH] added logging --- code/bandwidth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/bandwidth.py b/code/bandwidth.py index 44c0e0a..34565f8 100644 --- a/code/bandwidth.py +++ b/code/bandwidth.py @@ -1,6 +1,7 @@ from speedtest import Speedtest from dotenv import load_dotenv from typing import List +import logging def measure(): @@ -13,6 +14,7 @@ def measure(): s.download(threads=None) s.upload(threads=None) s.results.share() + logging.debug('finished') return s.results.dict()