From 56ea61f5fb16249afbada1d2c1b0225a78cf6099 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 12 Mar 2018 19:59:05 +0100 Subject: [PATCH] fix validity check in genericspeech driver --- src/fenrir/speechDriver/genericDriver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrir/speechDriver/genericDriver.py b/src/fenrir/speechDriver/genericDriver.py index 3217e4c7..2f2286fc 100644 --- a/src/fenrir/speechDriver/genericDriver.py +++ b/src/fenrir/speechDriver/genericDriver.py @@ -129,6 +129,8 @@ class driver(speechDriver): if isinstance(utterance, int): if utterance == -1: return + else: + continue elif not isinstance(utterance, dict): continue # no text means nothing to speak