Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
yazanzarka1 committed Oct 28, 2024
1 parent d95db84 commit bf52b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/career/views/weekly_business.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create(self, request, *args, **kwargs):
except ValueError:
return Response(
{"detail": "En feil oppstod under behandlingen av forespørselen."},
status=status.HTTP_400_BAD_REQUEST
status=status.HTTP_400_BAD_REQUEST,
)

def update(self, request, pk):
Expand All @@ -81,7 +81,7 @@ def update(self, request, pk):
except ValueError:
return Response(
{"detail": "En feil oppstod under behandlingen av forespørselen."},
status=status.HTTP_400_BAD_REQUEST
status=status.HTTP_400_BAD_REQUEST,
)

def destroy(self, request, *args, **kwargs):
Expand Down
4 changes: 2 additions & 2 deletions app/content/views/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def upload(request):
except ValueError:
return Response(
{"detail": "En feil oppstod under behandlingen av forespørselen."},
status=status.HTTP_400_BAD_REQUEST
status=status.HTTP_400_BAD_REQUEST,
)


Expand All @@ -56,5 +56,5 @@ def delete(request, container_name, blob_name):
except ValueError:
return Response(
{"detail": "En feil oppstod under behandlingen av forespørselen."},
status=status.HTTP_400_BAD_REQUEST
status=status.HTTP_400_BAD_REQUEST,
)

0 comments on commit bf52b0a

Please sign in to comment.