mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
im actually going to throw hands
This commit is contained in:
parent
802d5b23e7
commit
4bad36d938
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ class OtherCog(commands.Cog):
|
|||
engine.save_to_file(text, target_fn)
|
||||
engine.runAndWait()
|
||||
while not os.path.exists(target_fn):
|
||||
time_sleep(0.5)
|
||||
sleep(0.5)
|
||||
with open(target_fn, "rb") as f:
|
||||
_io.write(f.read())
|
||||
os.remove(target_fn)
|
||||
|
|
Loading…
Reference in a new issue