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