From 6755bc8bb2ee3df45da793516360a307620eedaa Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 4 Oct 2020 11:29:52 +0900 Subject: [PATCH] Make sure to pass fixed filepath to processor --- pytchat/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytchat/cli/__init__.py b/pytchat/cli/__init__.py index 1e6a18f..97a6442 100644 --- a/pytchat/cli/__init__.py +++ b/pytchat/cli/__init__.py @@ -91,7 +91,7 @@ def main(): if data == []: return False pbar.reset("#", "=", total=len(data), status="Rendering ") - processor = HTMLArchiver(Arguments().output + video_id + '.html', callback=pbar._disp) + processor = HTMLArchiver(path, callback=pbar._disp) processor.process( [{'video_id': None, 'timeout': 1,