This commit is contained in:
2022-11-13 19:44:54 +03:00
parent fbe490d322
commit 6ca4c9241e
4 changed files with 12 additions and 10 deletions

View File

@@ -190,8 +190,9 @@ async def migrate(entry, storage):
entry["cover"] = r["cover"]
# body
r["body"] = prepare_html_body(entry)
r["body"], media = prepare_html_body(entry)
if media:
print(media)
# save shout to db
s = object()
shout_dict = r.copy()