diff options
| author | davidovski <git@davidovski.xyz> | 2021-11-17 12:23:24 +0000 | 
|---|---|---|
| committer | davidovski <git@davidovski.xyz> | 2021-11-17 12:23:24 +0000 | 
| commit | 28029bc25090e706d08b6c5735bb5dfc24176f59 (patch) | |
| tree | a1a358cdcaf904f25eb0e54f9ad512b451981681 /src | |
| parent | 0ff24f5611f8a30f01ae08d866b5276c020a8665 (diff) | |
neatened ping number to int
Diffstat (limited to 'src')
| -rw-r--r-- | src/verbs/sync.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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) | 
