dev@locazia: fix metadata cover
This commit is contained in:
parent
7c5bdb3bb6
commit
63b5607d1b
|
|
@ -17,7 +17,7 @@ async def create_metadata_for_item(
|
||||||
authors: list = None
|
authors: list = None
|
||||||
) -> StoredContent:
|
) -> StoredContent:
|
||||||
assert title, "No title provided"
|
assert title, "No title provided"
|
||||||
assert cover_url, "No cover_url provided"
|
# assert cover_url, "No cover_url provided"
|
||||||
assert len(title) > 3, "Title too short"
|
assert len(title) > 3, "Title too short"
|
||||||
title = title[:100].strip()
|
title = title[:100].strip()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue