mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix pylint
This commit is contained in:
parent
09e59d7148
commit
bfb1d5c5f5
1 changed files with 4 additions and 1 deletions
|
@ -131,7 +131,10 @@ def on_tts_voices(text: str, field, filter: str, ctx) -> str:
|
|||
voices.sort(key=attrgetter("lang"))
|
||||
|
||||
buf = "<div style='font-size: 14px; text-align: left;'>TTS voices available:<br>"
|
||||
buf += "<br>".join(f"{{{{tts {v.lang} voices={v.name}}}}}" for v in voices)
|
||||
buf += "<br>".join(
|
||||
f"{{{{tts {v.lang} voices={v.name}}}}}" # pylint: disable=no-member
|
||||
for v in voices
|
||||
)
|
||||
return buf + "</div>"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue