Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Владислав Будин
CardGen
Commits
51d2d1c0
Commit
51d2d1c0
authored
1 year ago
by
Danila Slesarev
Browse files
Options
Download
Patches
Plain Diff
fix(server/plugins): minor fix of format processor
parent
11a030df
main
1 merge request
!1
добавил исключения, функция in может работать без скобок, поправил внешний вид...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/format_processors/processor/format_processor.py
+6
-2
plugins/format_processors/processor/format_processor.py
with
6 additions
and
2 deletions
+6
-2
plugins/format_processors/processor/format_processor.py
+
6
−
2
View file @
51d2d1c0
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets