From cf794c01c7715bf6bcb3e567a36df7d1ea7f0581 Mon Sep 17 00:00:00 2001 From: blank X Date: Thu, 15 Apr 2021 10:25:47 +0700 Subject: [PATCH] Fix log file extension --- autoytarchive/workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoytarchive/workers.py b/autoytarchive/workers.py index 16c4b0a..eb892cd 100644 --- a/autoytarchive/workers.py +++ b/autoytarchive/workers.py @@ -165,7 +165,7 @@ async def _video_worker(): command.extend(('-c', 'copy', video_filename)) return command 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): last_tell = log_file.tell() while True: