Skip to content

Commit

Permalink
Fixup: format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 17, 2021
1 parent da3df58 commit 9eeef6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pod/video/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,11 @@ def video(request, slug, slug_c=None, slug_t=None, slug_private=None):
video = get_object_or_404(Video, id=id, sites=get_current_site(request))

if video.get_version != "O" and request.GET.get("redirect") != "false":
return redirect(video.get_default_version_link(slug_private)+"?"+request.META['QUERY_STRING'])
return redirect(
video.get_default_version_link(slug_private)
+ "?"
+ request.META["QUERY_STRING"]
)

template_video = "videos/video.html"
params = {"active_video_comment": ACTIVE_VIDEO_COMMENT}
Expand Down

0 comments on commit 9eeef6b

Please sign in to comment.