title: TypeError: expected str, bytes or os.PathLike object, not list convert
body: <p>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 <code>TypeError: expected str, bytes or os.PathLike object, not list</code>?
  Thank you in advance</p>
  <pre><code>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)
  </code></pre>