From b1a1ba2414ac71c34a87e68f1a14e8b870c046ff Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Fri, 15 Nov 2024 11:27:23 +0100 Subject: [PATCH] Fixed build - flake8 --- server/api/invitation.py | 2 +- server/test/api/test_invitation.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server/api/invitation.py b/server/api/invitation.py index b0f4018a7..475004743 100644 --- a/server/api/invitation.py +++ b/server/api/invitation.py @@ -414,7 +414,7 @@ def resend_external_invitation(external_identifier): "recipient": invitation.invitee_email }, invitation.collaboration, [invitation.invitee_email], service_names, reminder=True, preview=False, working_outside_of_request_context=True) - return invitation_to_dict(invitation,include_expiry_date=True), 201 + return invitation_to_dict(invitation, include_expiry_date=True), 201 @invitations_api.route("/v1/", methods=["DELETE"], strict_slashes=False) diff --git a/server/test/api/test_invitation.py b/server/test/api/test_invitation.py index 8e832dda9..cb3daa3e1 100644 --- a/server/test/api/test_invitation.py +++ b/server/test/api/test_invitation.py @@ -359,5 +359,3 @@ def test_resend_api_invite(self): diff = expiry_date - datetime.datetime.now() self.assertEqual(14, diff.days) self.assertTrue("Reminder: you have been invited by" in outbox[0].html) - -