修复小BUG导致无法上传
This commit is contained in:
parent
c89f84a44f
commit
6842961d42
@ -97,9 +97,9 @@ def download(url):
|
||||
def encode():
|
||||
global isUpload
|
||||
while True:
|
||||
isUpload = False
|
||||
i = eq.get()
|
||||
if os.path.exists(i):
|
||||
isUpload = False
|
||||
os.system("ffmpeg -i {} -c:v copy -c:a copy -f mp4 {}".format(i, i[:13] + ".mp4"))
|
||||
uq.put(i[:13] + ".mp4")
|
||||
if config["mv"]:
|
||||
|
Reference in New Issue
Block a user