return default frame
This commit is contained in:
parent
70a9daf19c
commit
c06f94fb24
1 changed files with 2 additions and 1 deletions
|
@ -629,7 +629,8 @@ def frame(request, id, size, position=None):
|
||||||
frame = item.frame(position, int(size))
|
frame = item.frame(position, int(size))
|
||||||
|
|
||||||
if not frame:
|
if not frame:
|
||||||
raise Http404
|
frame = os.path.join(settings.STATIC_ROOT, 'jpg/list256.jpg')
|
||||||
|
#raise Http404
|
||||||
return HttpFileResponse(frame, content_type='image/jpeg')
|
return HttpFileResponse(frame, content_type='image/jpeg')
|
||||||
|
|
||||||
def poster_frame(request, id, position):
|
def poster_frame(request, id, position):
|
||||||
|
|
Loading…
Reference in a new issue