Merge branch 'master' of https://gitlab.com/spla/fediverse
This commit is contained in:
commit
b96ca59ea9
S'han modificat 1 arxius amb 1 adicions i 4 eliminacions
|
@ -19,9 +19,6 @@ plt.style.use('seaborn')
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
from decimal import *
|
|
||||||
getcontext().prec = 2
|
|
||||||
|
|
||||||
apis = ['/nodeinfo/2.0?', '/nodeinfo/2.0.json?', '/main/nodeinfo/2.0?', '/api/statusnet/config?', '/api/nodeinfo/2.0.json?', '/api/nodeinfo?', '/api/v1/instance?', '/wp-json/nodeinfo/2.0?']
|
apis = ['/nodeinfo/2.0?', '/nodeinfo/2.0.json?', '/main/nodeinfo/2.0?', '/api/statusnet/config?', '/api/nodeinfo/2.0.json?', '/api/nodeinfo?', '/api/v1/instance?', '/wp-json/nodeinfo/2.0?']
|
||||||
|
|
||||||
client_exceptions = (
|
client_exceptions = (
|
||||||
|
@ -158,7 +155,7 @@ def get_alive_servers(server):
|
||||||
|
|
||||||
if alive:
|
if alive:
|
||||||
|
|
||||||
if soft_version is not "" and soft_version is not None:
|
if soft_version != "" and soft_version is not None:
|
||||||
print("Server " + str(server) + " (" + serv_soft + " " + soft_version + ") is alive!")
|
print("Server " + str(server) + " (" + serv_soft + " " + soft_version + ") is alive!")
|
||||||
else:
|
else:
|
||||||
print("Server " + str(server) + " (" + serv_soft + ") is alive!")
|
print("Server " + str(server) + " (" + serv_soft + ") is alive!")
|
||||||
|
|
Loading…
Referencia en una nova incidència