Skip to content

Commit

Permalink
Strip trailing whitespace from backend/items/views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed Jul 13, 2021
1 parent b2173fb commit 64c919d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/items/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.http import FileResponse, HttpResponse

from rest_framework.decorators import action, api_view, renderer_classes
from rest_framework.decorators import action, api_view, renderer_classes
from rest_framework.permissions import IsAuthenticatedOrReadOnly
from rest_framework.response import Response
from rest_framework.status import *
Expand Down Expand Up @@ -267,7 +267,7 @@ class ItemSuggestion(RDFView):
def graph(self):
return graph()

def get_graph(self, request, **kwargs):
def get_graph(self, request, **kwargs):
items = self.graph()
if not request.user.has_perm('rdflib_django.view_all_annotations'):
user, now = submission_info(request)
Expand All @@ -287,7 +287,7 @@ class ItemsOfCategory(RDFView):
def graph(self):
return graph()

def get_graph(self, request, category, **kwargs):
def get_graph(self, request, category, **kwargs):
items = self.graph()
bindings = {'category': ontology[category]}
if not request.user.has_perm('rdflib_django.view_all_annotations'):
Expand Down

0 comments on commit 64c919d

Please sign in to comment.