dont fail if part has no timeline, look for timeline fallback from top
This commit is contained in:
parent
eee7d1baef
commit
495a22dd97
2 changed files with 8 additions and 3 deletions
|
|
@ -734,7 +734,7 @@ def timeline(request, id, size, position=-1, format='jpg', mode=None):
|
|||
|
||||
path = timeline()
|
||||
while modes and not os.path.exists(path):
|
||||
mode = modes.pop()
|
||||
mode = modes.pop(0)
|
||||
path = timeline()
|
||||
return HttpFileResponse(path, content_type='image/jpeg')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue