Set timeout based on dialog length
This commit is contained in:
		| @@ -50,7 +50,7 @@ class CarManual(MycroftSkill): | |||||||
|                 "title": title, |                 "title": title, | ||||||
|                 "description": dialog |                 "description": dialog | ||||||
|             }, |             }, | ||||||
|             "time": 10000 |             "time": len(dialog) * 50 + 3000 | ||||||
|         } |         } | ||||||
|         emit(url, "switchPlugin", emission) |         emit(url, "switchPlugin", emission) | ||||||
|         self.speak(dialog) |         self.speak(dialog) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user