forkeado de spla/fediverse
some cosmethics
This commit is contained in:
pare
9ef90164b0
commit
c60735b84b
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -28,7 +28,7 @@ def write_servers(world_servers):
|
|||
|
||||
cur.execute(insert_sql, (world_servers[i], peer, updated_at, saved_at,))
|
||||
|
||||
print('writing to database ' + str(i) + ' of ' + str(len(world_servers)) + ': ' + world_servers[i])
|
||||
print(f'writing to database {str(i)} of {str(len(world_servers))}: {world_servers[i]}')
|
||||
|
||||
conn.commit()
|
||||
|
||||
|
@ -60,7 +60,7 @@ def get_peers(peer):
|
|||
|
||||
try:
|
||||
|
||||
print("Server: " + peer + ", " + "federated with " + str(len(response_json)) + " servers")
|
||||
print(f"Server: {peer}, federated with {str(len(response_json))} servers")
|
||||
|
||||
for peer_peer in response_json:
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència