diff --git a/web/api/v0/__init__.py b/web/api/v0/__init__.py index 60607c5d6..f936eeb67 100644 --- a/web/api/v0/__init__.py +++ b/web/api/v0/__init__.py @@ -404,7 +404,9 @@ def post( mpsk = get_mpsk_client_or_404(mpsks_id) if user != mpsk.owner: - abort(404, message=f"User {user_id} does not own the mpsk client with the id {mpsks_id}") + abort( + 404, message=f"User {user_id} does not own the mpsk client with the id {mpsks_id}" + ) try: mpsk_edit(session, mpsk, user, name, mac, user)