mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-08-14 00:48:32 +02:00
PEP-8 fixes
This commit is contained in:
@ -46,7 +46,7 @@ def vote(request, item):
|
||||
item = get_object_or_404(KBItem, pk=item)
|
||||
vote = request.GET.get('vote', None)
|
||||
if vote in ('up', 'down'):
|
||||
if request.user not in item.voted_by:
|
||||
if request.user not in item.voted_by:
|
||||
|
||||
item.votes += 1
|
||||
if vote == 'up':
|
||||
|
Reference in New Issue
Block a user