fds
This commit is contained in:
parent
cb06fc98ec
commit
3355cd8442
1 changed files with 4 additions and 0 deletions
|
@ -461,6 +461,10 @@ def thumbnail_thread(pid):
|
||||||
|
|
||||||
post = db.query(Submission).filter_by(id=pid).first()
|
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
|
fetch_url=post.url
|
||||||
|
|
||||||
#mimic chrome browser agent
|
#mimic chrome browser agent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue