forked from rDrama/rDrama
fds
parent
7c2a0924ff
commit
b833568c55
|
@ -460,6 +460,10 @@ def thumbnail_thread(pid):
|
||||||
db = db_session()
|
db = db_session()
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue