diff --git a/qt/aqt/tts.py b/qt/aqt/tts.py index 1825cafe8..a78300e31 100644 --- a/qt/aqt/tts.py +++ b/qt/aqt/tts.py @@ -131,7 +131,10 @@ def on_tts_voices(text: str, field, filter: str, ctx) -> str: voices.sort(key=attrgetter("lang")) buf = "
TTS voices available:
" - buf += "
".join(f"{{{{tts {v.lang} voices={v.name}}}}}" for v in voices) + buf += "
".join( + f"{{{{tts {v.lang} voices={v.name}}}}}" # pylint: disable=no-member + for v in voices + ) return buf + "
"