From 41ec2d03fe273664f7ad103f4aeebff6edfe48d4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:08:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- website/classes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/classes.py b/website/classes.py index e8585024891..cdbd31c71b7 100644 --- a/website/classes.py +++ b/website/classes.py @@ -79,7 +79,8 @@ def create_class(self, user): request_body = {"tags": [{"name": "class_created", "status": "active"}]} try: - r = requests.post(MAILCHIMP_API_URL + f"/members/{subscriber_hash}/tags", headers=MAILCHIMP_API_HEADERS, data=json.dumps(request_body)) + r = requests.post(MAILCHIMP_API_URL + f"/members/{subscriber_hash}/tags", + headers=MAILCHIMP_API_HEADERS, data=json.dumps(request_body)) except Exception as E: pass