fds
This commit is contained in:
parent
cb06fc98ec
commit
3355cd8442
1 changed files with 4 additions and 0 deletions
|
@ -460,6 +460,10 @@ def thumbnail_thread(pid):
|
|||
db = db_session()
|
||||
|
||||
post = db.query(Submission).filter_by(id=pid).first()
|
||||
|
||||
if not post:
|
||||
time.sleep(5)
|
||||
post = db.query(Submission).filter_by(id=pid).first()
|
||||
|
||||
fetch_url=post.url
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue