add isInitialized
This commit is contained in:
parent
3d6d72a5d3
commit
0b6dd8fb0f
@ -6,7 +6,11 @@ class speech():
|
|||||||
isInitialized = False
|
isInitialized = False
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
try:
|
||||||
pass
|
pass
|
||||||
|
isInitialized = True
|
||||||
|
except:
|
||||||
|
initialized = False
|
||||||
|
|
||||||
def speak(text, queueable=True):
|
def speak(text, queueable=True):
|
||||||
if queueable == False: self.stop()
|
if queueable == False: self.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user