From 00f47f99a923ceb845d2e1606c4ddb45dfdce08f Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Sun, 27 Dec 2020 14:57:14 +0100 Subject: [PATCH] Unify use of single quotes for non-docstring string literals --- matrix_webhook.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/matrix_webhook.py b/matrix_webhook.py index 6a88346..2f8482e 100755 --- a/matrix_webhook.py +++ b/matrix_webhook.py @@ -48,10 +48,10 @@ async def handler(request): room_id = str(request.rel_url)[1:] content = { - "msgtype": "m.text", - "body": data['text'], - "format": "org.matrix.custom.html", - "formatted_body": markdown(data['text'], extensions=['extra']), + 'msgtype': 'm.text', + 'body': data['text'], + 'format': 'org.matrix.custom.html', + 'formatted_body': markdown(data['text'], extensions=['extra']), } try: await send_room_message(room_id, content)