Fix log file extension
This commit is contained in:
parent
4a7ad768c7
commit
cf794c01c7
|
@ -165,7 +165,7 @@ async def _video_worker():
|
||||||
command.extend(('-c', 'copy', video_filename))
|
command.extend(('-c', 'copy', video_filename))
|
||||||
return command
|
return command
|
||||||
video_filename = os.path.join(tempdir, video_json['id'] + '.mkv')
|
video_filename = os.path.join(tempdir, video_json['id'] + '.mkv')
|
||||||
with open(video_json['id'] + '.mkv', 'ab') as log_file:
|
with open(video_json['id'] + '.log', 'ab') as log_file:
|
||||||
async def auto_kill(proc):
|
async def auto_kill(proc):
|
||||||
last_tell = log_file.tell()
|
last_tell = log_file.tell()
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue