Skip to content
Snippets Groups Projects
Commit 0d8b37ef authored by psy's avatar psy
Browse files

fix formatstring

parent e924cbeb
Branches
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ def fetch_metrics(synapse_url, access_token): ...@@ -22,7 +22,7 @@ def fetch_metrics(synapse_url, access_token):
update_room_metrics(rooms) update_room_metrics(rooms)
for room in rooms: for room in rooms:
statefile = f'state/{room['room_id']}.end' statefile = f"state/{room['room_id']}.end"
url = f"{synapse_url}/_synapse/admin/v1/rooms/{room['room_id']}/messages" url = f"{synapse_url}/_synapse/admin/v1/rooms/{room['room_id']}/messages"
messages = [] messages = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment