Fixed captions not getting detected
This commit is contained in:
parent
a54081a2ae
commit
87af9fd333
@ -71,7 +71,7 @@ async def send_content(app: PosterClient):
|
|||||||
|
|
||||||
del response
|
del response
|
||||||
|
|
||||||
submitted_caption = col_submitted.find_one( {"image": ObjectId(pic[0])} )
|
submitted_caption = col_submitted.find_one( {"temp.file": pic[1]} )
|
||||||
|
|
||||||
if submitted_caption is not None:
|
if submitted_caption is not None:
|
||||||
caption = submitted_caption["caption"].strip()
|
caption = submitted_caption["caption"].strip()
|
||||||
|
Reference in New Issue
Block a user