mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-11-16 11:52:14 +00:00
remove flac tempfile
This commit is contained in:
parent
2854948da3
commit
d182fe37e7
3
ytdl.py
3
ytdl.py
@ -14,6 +14,7 @@ import logging
|
||||
import os
|
||||
import platform
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
import threading
|
||||
@ -235,7 +236,7 @@ async def handler(event):
|
||||
await bot.send_file(chat_id, input_media)
|
||||
|
||||
# await bot.send_file(chat_id, flac_tmp)
|
||||
|
||||
os.unlink(flac_tmp)
|
||||
tmp.close()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user