From 28029bc25090e706d08b6c5735bb5dfc24176f59 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 Nov 2021 12:23:24 +0000 Subject: neatened ping number to int --- src/verbs/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/verbs') diff --git a/src/verbs/sync.py b/src/verbs/sync.py index e9cc7b3..bd828ef 100644 --- a/src/verbs/sync.py +++ b/src/verbs/sync.py @@ -103,7 +103,7 @@ def test_sources(sources, file_path, test_count=10): total += test_source(source, url) util.loading_bar(checked, len(sources) * test_count, f"Pinging Sources") checked += 1 - pings[source] = total / test_count if total > 0 else 0 + pings[source] = int(total / test_count) if total > 0 else 0 sorted(pings, reverse=True) -- cgit v1.2.1