remove debug

This commit is contained in:
chrys 2017-11-06 23:02:27 +01:00
parent 65d6904833
commit bf25f58ead

View File

@ -92,11 +92,9 @@ class outputManager():
self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)
try: try:
s = time.time()
text = self.env['runtime']['headLineManager'].replaceHeadLines(text) text = self.env['runtime']['headLineManager'].replaceHeadLines(text)
text = self.env['runtime']['punctuationManager'].proceedPunctuation(text,ignorePunctuation) text = self.env['runtime']['punctuationManager'].proceedPunctuation(text,ignorePunctuation)
text = text.replace('\n',' , ') text = text.replace('\n',' , ')
print(time.time() -s)
self.env['runtime']['speechDriver'].speak(text) self.env['runtime']['speechDriver'].speak(text)
self.env['runtime']['debug'].writeDebugOut("Speak: "+ text,debug.debugLevel.INFO) self.env['runtime']['debug'].writeDebugOut("Speak: "+ text,debug.debugLevel.INFO)
except Exception as e: except Exception as e: