Unify use of single quotes for non-docstring string literals

This commit is contained in:
Jochen Kupperschmidt 2020-12-27 14:57:14 +01:00
parent 78b9533e2b
commit 00f47f99a9

View file

@ -48,10 +48,10 @@ async def handler(request):
room_id = str(request.rel_url)[1:] room_id = str(request.rel_url)[1:]
content = { content = {
"msgtype": "m.text", 'msgtype': 'm.text',
"body": data['text'], 'body': data['text'],
"format": "org.matrix.custom.html", 'format': 'org.matrix.custom.html',
"formatted_body": markdown(data['text'], extensions=['extra']), 'formatted_body': markdown(data['text'], extensions=['extra']),
} }
try: try:
await send_room_message(room_id, content) await send_room_message(room_id, content)