mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
This fixes #4980
This commit is contained in:
parent
d5e42992d2
commit
85bb6ea3a7
2 changed files with 5 additions and 1 deletions
|
@ -39,6 +39,8 @@ def generate(str, filename):
|
|||
os.system(command.encode('utf-8'))
|
||||
command = "sox %s -r 32000 %s" % (output, filename)
|
||||
os.system(command.encode('utf-8'))
|
||||
command = "rm -f output.mp3"
|
||||
os.system(command.encode('utf-8'))
|
||||
|
||||
################################################################
|
||||
|
||||
|
@ -84,7 +86,7 @@ if __name__ == "__main__":
|
|||
|
||||
directory = "pt"
|
||||
voice = "pt-PT"
|
||||
|
||||
|
||||
else:
|
||||
print("which language?")
|
||||
exit()
|
||||
|
|
|
@ -39,6 +39,8 @@ def generate(str, filename):
|
|||
os.system(command.encode('utf-8'))
|
||||
command = "sox %s -r 32000 %s" % (output, filename)
|
||||
os.system(command.encode('utf-8'))
|
||||
command = "rm -f output.mp3"
|
||||
os.system(command.encode('utf-8'))
|
||||
|
||||
################################################################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue