Change % to percent in spoken text
This commit is contained in:
parent
7ef7a3aebe
commit
f1b2e7a3e4
|
@ -21,7 +21,7 @@ class FuelCheck(DaemonPlugin):
|
|||
if ratio <= self.threshold:
|
||||
if self.last_message is None:
|
||||
desc = f"Only {int(ratio)}% fuel left. Please refill the tank."
|
||||
self.speak(desc)
|
||||
self.speak(desc.replace("%", " percent"))
|
||||
self.emit("switchPlugin", {
|
||||
"plugin": "warning",
|
||||
"data": {
|
||||
|
|
Loading…
Reference in New Issue