New version of black, new whitespace
This commit is contained in:
parent
ef83eb33b0
commit
3ade2d3bb1
152 changed files with 1289 additions and 1289 deletions
|
@ -7,7 +7,7 @@ from bookwyrm import activitystreams
|
|||
|
||||
@login_required
|
||||
def get_notification_count(request):
|
||||
""" any notifications waiting? """
|
||||
"""any notifications waiting?"""
|
||||
return JsonResponse(
|
||||
{
|
||||
"count": request.user.notification_set.filter(read=False).count(),
|
||||
|
@ -17,7 +17,7 @@ def get_notification_count(request):
|
|||
|
||||
@login_required
|
||||
def get_unread_status_count(request, stream="home"):
|
||||
""" any unread statuses for this feed? """
|
||||
"""any unread statuses for this feed?"""
|
||||
stream = activitystreams.streams.get(stream)
|
||||
if not stream:
|
||||
return JsonResponse({})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue