New version of black, new whitespace

This commit is contained in:
Mouse Reeve
2021-04-26 09:15:42 -07:00
parent ef83eb33b0
commit 3ade2d3bb1
152 changed files with 1289 additions and 1289 deletions

View File

@ -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({})