This commit is contained in:
Aevann1 2021-09-24 04:23:45 +02:00
parent cb06fc98ec
commit 3355cd8442

View file

@ -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