models: skip leading quotation mark when extracting "description"
This commit is contained in:
parent
dbc46d4e03
commit
19f01c56bb
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ async def make_teilchen_input(text: str) -> TeilchenCreate | None:
|
||||||
description_start = text.find('"', name_end + 1)
|
description_start = text.find('"', name_end + 1)
|
||||||
description_end = text.find('"', description_start + 1)
|
description_end = text.find('"', description_start + 1)
|
||||||
if description_end > description_start:
|
if description_end > description_start:
|
||||||
description = text[description_start:description_end]
|
description = text[description_start + 1 : description_end]
|
||||||
else:
|
else:
|
||||||
description = ""
|
description = ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue