add isInitialized

This commit is contained in:
chrys87 2016-07-05 10:43:28 +02:00 committed by GitHub
parent 3d6d72a5d3
commit 0b6dd8fb0f

View File

@ -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()