Fix spurious error due to resume after configure event no longer being used

This commit is contained in:
Kovid Goyal 2024-09-03 19:48:33 +05:30
parent 631c618503
commit 00ec5eb9fb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -36,6 +36,7 @@ class TTS(QObject):
self.manager.speak_simple_text(text)
def action(self, action, data):
if action != 'resume_after_configure': # resume_after_configure is not used in new tts backend
getattr(self, action)(data)
def play(self, data):