This commit is contained in:
Kovid Goyal 2024-11-05 06:29:28 +05:30
parent 3725d5a4c0
commit 278f774331
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -496,7 +496,7 @@ class Piper(TTSBackend):
while len(u.left_to_write):
written = self.process.write(u.left_to_write)
if written < 0:
self._set_error('Failed to write to piper process with error: {self.process.errorString()}')
self._set_error(f'Failed to write to piper process with error: {self.process.errorString()}')
break
if not u.started and written:
u.started = True