From 76a0b93ba389b85c0b8926e8a84dcf7faddaed1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=9A=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D1=85?= Date: Sun, 4 Apr 2021 02:06:33 +0300 Subject: [PATCH] record: Fix variable name for one of subprocesses --- twitch_utils/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch_utils/record.py b/twitch_utils/record.py index ee5bf713..20abc5ba 100755 --- a/twitch_utils/record.py +++ b/twitch_utils/record.py @@ -248,7 +248,7 @@ def record(vod_id: str, stream: Stream, vod: Stream, parts: int = 0) -> int: segment.start = max(0, missing_part[0] - 60) segment.end = missing_part[1] + 60 - segment = segment.download_async(generate_filename(vod_id, parts)) + vod_proc = segment.download_async(generate_filename(vod_id, parts)) parts += 1 vod_proc.join()