diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/main.py b/main.py index 7c3b4b3..a8e594c 100644 --- a/main.py +++ b/main.py @@ -7,7 +7,8 @@ from requests import get def dl_ul_handler(value: float, threshold: float): - return (value / 1000000, value > threshold) + value /= 1000000 + return (value, value > threshold) def ping_handler(value: float, threshold: float):