I don't know good at python
I want to make a convert of .log files .txt in. html
I'm trying to pass the value as an array.
But he doesn't accept it. How can I fix this `TypeError: expected str, bytes or os.PathLike object, not list`?
Thank you in advance

```
import txt_to_html
import os
path = 'C:\\Users\\Sandy\\PycharmProjects\\untitled1'
text_files = [f for f in os.listdir(path) if f.endswith('.log')]
txt_to_html.parse_txt(text_files)

```