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