Make sure to pass fixed filepath to processor

This commit is contained in:
taizan-hokouto
2020-10-04 11:29:52 +09:00
parent 26be989b9b
commit 6755bc8bb2

View File

@@ -91,7 +91,7 @@ def main():
if data == []: if data == []:
return False return False
pbar.reset("#", "=", total=len(data), status="Rendering ") 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( processor.process(
[{'video_id': None, [{'video_id': None,
'timeout': 1, 'timeout': 1,