Set timeout based on dialog length

This commit is contained in:
Ceda EI 2021-01-04 23:14:57 +05:30
parent b78f211ccb
commit 458c87e9dd
1 changed files with 1 additions and 1 deletions

View File

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