forkeado de spla/fediverse
Fix #9 Fix#10
This commit is contained in:
pare
f740c5170a
commit
5c439bdf86
S'han modificat 2 arxius amb 2 adicions i 2 eliminacions
|
@ -170,7 +170,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if alive:
|
if alive:
|
||||||
|
|
||||||
toot_text += f'server: {server}\nsoftware: :{software}:\nversion: {version}\nMAU: {mau:,}\nusers: {users:,}\nalive: {alive}'
|
toot_text += f'server: {server}\nsoftware: :{software}:\nversion: {version}\nMAU: {int(mau):,}\nusers: {int(users):,}\nalive: {alive}'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
||||||
|
|
2
query.py
2
query.py
|
@ -211,7 +211,7 @@ class Query():
|
||||||
|
|
||||||
self.db.write_api(server, self.soft, self.users, self.alive, nodeinfo, self.soft_version)
|
self.db.write_api(server, self.soft, self.users, self.alive, nodeinfo, self.soft_version)
|
||||||
|
|
||||||
print(f"Server {server} ({soft} {soft_version}) is alive!")
|
print(f"Server {server} ({self.soft} {self.soft_version}) is alive!")
|
||||||
print('*********************************************************************')
|
print('*********************************************************************')
|
||||||
|
|
||||||
return (server, self.soft, self.soft_version, self.users, self.mau, self.alive)
|
return (server, self.soft, self.soft_version, self.users, self.mau, self.alive)
|
||||||
|
|
Loading…
Referencia en una nova incidència