Update texttospeech.py

This commit is contained in:
Believethehype
2023-12-28 20:50:20 +01:00
parent b77241690e
commit 4c07beff7b

View File

@@ -38,7 +38,7 @@ class TextToSpeech(DVMTaskInterface):
if tag.as_vec()[0] == 'i':
input_value = tag.as_vec()[1]
input_type = tag.as_vec()[2]
if input_type != "text":
if input_type != "event" and input_type != "job" and input_type != "text":
return False
elif tag.as_vec()[0] == 'param':
param = tag.as_vec()[1]