sync wrong document fix

This commit is contained in:
tmshv committed 2020-03-29 01:38:35 +03:00
1 parent 8cbe9a695c
commit 207233125d
1 file changed
+1
+1
View File
@@ -79,6 +79,7 @@ async def create_post(provider: Provider, folder: str, md: str, sizes):
title = data['caption']
if title:
document.set_title(title)
await document.save()
if not document:
raise Exception(f'Failed to build Document {filepath}')