Added percentage of best uptime servers
This commit is contained in:
pare
203f19381a
commit
1edc396aea
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -166,7 +166,7 @@ if __name__ == '__main__':
|
||||||
toot_text += '\n\n'
|
toot_text += '\n\n'
|
||||||
toot_text += "Best #fediverse's server uptime:\n" + humanfriendly.format_timespan(max_uptime)
|
toot_text += "Best #fediverse's server uptime:\n" + humanfriendly.format_timespan(max_uptime)
|
||||||
toot_text += '\n'
|
toot_text += '\n'
|
||||||
toot_text += 'Servers with best uptime: ' + str(best_servers)
|
toot_text += 'Servers with best uptime: ' + str(best_servers) + ' (' + str(round((best_servers*100)/alive_servers,2)) + '%)'
|
||||||
toot_text += '\n\n'
|
toot_text += '\n\n'
|
||||||
toot_text += 'software & servers with best uptime:' + '\n'
|
toot_text += 'software & servers with best uptime:' + '\n'
|
||||||
i = 0
|
i = 0
|
||||||
|
|
Loading…
Referencia en una nova incidència