src: update thread

This commit is contained in:
0xMRTT 2023-05-06 11:19:14 +02:00
parent 6cf10e6f2e
commit 62bba52dd2
Signed by: 0xMRTT
GPG Key ID: 19C1449A774028BD
1 changed files with 3 additions and 3 deletions

View File

@ -276,10 +276,10 @@ Providers: {self.enabled_providers}
GLib.idle_add(self.update_response, response)
if self.clear_after_send:
GLib.idle_add(self.update_response, "")
t.join()
self.t.join()
t = threading.Thread(target=thread_run)
t.start()
self.t = threading.Thread(target=thread_run)
self.t.start()
# def on_speak_action(self, widget, _):
# """Callback for the app.speak action."""