This commit is contained in:
spla 2023-01-08 10:25:05 +01:00
pare f740c5170a
commit 5c439bdf86
S'han modificat 2 arxius amb 2 adicions i 2 eliminacions

Veure arxiu

@ -170,7 +170,7 @@ if __name__ == '__main__':
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:

Veure arxiu

@ -211,7 +211,7 @@ class Query():
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('*********************************************************************')
return (server, self.soft, self.soft_version, self.users, self.mau, self.alive)