From bda5e1a133af6e74372c4d6b8f65648eea06d878 Mon Sep 17 00:00:00 2001 From: maike Date: Mon, 6 Jul 2020 15:16:28 +0200 Subject: [PATCH] [email] Fix style issues --- kibicara/kibicara_mda.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kibicara/kibicara_mda.py b/kibicara/kibicara_mda.py index 388fcfe..bf890bc 100644 --- a/kibicara/kibicara_mda.py +++ b/kibicara/kibicara_mda.py @@ -36,11 +36,13 @@ def main(): 'text': text, 'to': mail['To'].lower(), 'author': mail['From'].lower(), - 'secret': Email.secret + 'secret': Email.secret, } # POST request mit API-key und JSON-body an /api/email/messages/: - print("curl " - "-X POST http://localhost/api/email/messages/ " - "-H 'Content-Type: application/json' " - "-d " + json.dumps(body)) + print( + "curl " + "-X POST http://localhost/api/email/messages/ " + "-H 'Content-Type: application/json' " + "-d " + json.dumps(body) + )