Don't try to use f-strings

Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
Jason Robinson 2021-01-11 09:47:03 +02:00
parent e2c16edc78
commit b52fb703f7
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class EventForwardExtremitiesStore(SQLBaseStore):
room_id, room_id,
) )
except KeyError: except KeyError:
msg = f"No forward extremity event found for room {room_id}" msg = "No forward extremity event found for room %s" % room_id
logger.warning(msg) logger.warning(msg)
raise SynapseError(400, msg) raise SynapseError(400, msg)