better handling of tts

This commit is contained in:
Believethehype
2024-07-03 13:02:14 +02:00
parent b284eb4c2c
commit daeb91d1e1
4 changed files with 13 additions and 8 deletions

View File

@@ -106,6 +106,7 @@ class DVMTaskInterface:
def run(self):
nostr_dvm_thread = Thread(target=self.DVM, args=[self.dvm_config, self.admin_config])
nostr_dvm_thread.start()
nostr_dvm_thread.join()
async def schedule(self, dvm_config):
"""schedule something, e.g. define some time to update or to post, does nothing by default"""