Commit 51d2d1c0 authored by Danila Slesarev's avatar Danila Slesarev
Browse files

fix(server/plugins): minor fix of format processor

parent 11a030df
1 merge request!1добавил исключения, функция in может работать без скобок, поправил внешний вид...
Showing with 6 additions and 2 deletions
+6 -2
......@@ -35,8 +35,12 @@ def save(deck_path: str):
tags = item["tags"]
other = item["other"]
images = " ".join([get_card_image_name(name) for name in web_images])
audios = " ".join([get_card_audio_name(name) for name in web_audios])
images = " ".join(
[get_card_image_name(name) for name, info in web_images]
)
audios = " ".join(
[get_card_audio_name(name) for name, info in web_audios]
)
sentence_example = " |<br><br>".join(examples)
note = genanki.Note(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment